[OpenSIPS-Devel] [OpenSIPS/opensips] 6059c4: httpd: Fix const pointer conversion warnings (Cent...

Liviu Chircu noreply at github.com
Tue Nov 23 12:14:43 EST 2021


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6059c42984bc72eecc11c1f19ea159d2e5049c68
      https://github.com/OpenSIPS/opensips/commit/6059c42984bc72eecc11c1f19ea159d2e5049c68
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
    M modules/httpd/httpd.c

  Log Message:
  -----------
  httpd: Fix const pointer conversion warnings (CentOS 7)

httpd.c:136:5: warning: assignment discards ‘const’ qualifier from
    pointer target type [enabled by default]
  vi = ver;
     ^
httpd.c:137:7: warning: assignment discards ‘const’ qualifier from
    pointer target type [enabled by default]
  rend = ver + strlen(ver);
       ^

(cherry picked from commit 43046101b9a1830cfc65dbfb73babe13a569f0d4)





More information about the Devel mailing list