https://bugzilla.redhat.com/show_bug.cgi?id=2026516
--- Comment #14 from Gavin Henry <ghenry(a)sentrypeer.org> ---
What's the best practice for testing 64bit/32bit archs?
Just this bit:
src/sip_daemon.c: In function 'sip_daemon_init':
src/sip_daemon.c:189:69: error: format '%lu' expects argument of type 'long
unsigned int', but argument 3 has type 'unsigned int' [-Werror=format=]
189 | "read_packet_buf size is: %lu:
\n",
| ~~^
| |
|
long unsigned int
| %u
190 | sizeof(read_packet_buf));
| ~~~~~~~~~~~~~~~~~~~~~~~
| |
| unsigned int
src/sip_daemon.c:192:71: error: format '%lu' expects argument of type 'long
unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'}
[-Werror=format=]
192 | "read_packet_buf length is:
%lu: \n",
| ~~^
| |
|
long unsigned int
| %u
193 | strnlen(read_packet_buf,
| ~~~~~~~~~~~~~~~~~~~~~~~~
| |
| size_t {aka unsigned int}
194 | PACKET_BUFFER_SIZE));
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2026516