[OpenSIPS-Devel] [OpenSIPS/opensips] d83a12: o Fix printf format warnings on ARM32.

Maksym Sobolyev noreply at github.com
Wed Feb 3 00:55:07 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d83a128a8878901a68eae2a3d2eb7700114b39ab
      https://github.com/OpenSIPS/opensips/commit/d83a128a8878901a68eae2a3d2eb7700114b39ab
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M lib/reg/pn.c

  Log Message:
  -----------
  o Fix printf format warnings on ARM32.

o Use PRIx64 not %lx to convert 64-bit value into hex.

o Use strtoull() to prevent 64-bit wraparound on 32-bit arches.


  Commit: 5de77f56d4ddc0216fdb27459f62e79d238899b2
      https://github.com/OpenSIPS/opensips/commit/5de77f56d4ddc0216fdb27459f62e79d238899b2
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M modules/registrar/save.c

  Log Message:
  -----------
  Don't break alignment rules accessing h_addr_list members of the
hostent structure.


  Commit: b88c129cdfb5ef1961b87235707450f6c69a63c2
      https://github.com/OpenSIPS/opensips/commit/b88c129cdfb5ef1961b87235707450f6c69a63c2
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M modules/tm/sip_msg.c
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  Cast char * to void * to avoid "cast increases required alignment"
warning on ARM32.


Compare: https://github.com/OpenSIPS/opensips/compare/f3c3ed53e6c7...b88c129cdfb5



More information about the Devel mailing list