paullouisageneau / libplum

Multi-protocol Port Mapping client library
Mozilla Public License 2.0
40 stars 5 forks source link

http.c: Fix -Wincompatible-pointer-types-discards-qualifiers #12

Closed past-due closed 6 months ago

past-due commented 6 months ago

The line:

service = "80";

may trigger Wincompatible-pointer-types-discards-qualifiers:

http.c:52:11: assigning to 'char *' from 'const char[3]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]