https://bugzilla.redhat.com/show_bug.cgi?id=2026516



--- Comment #14 from Gavin Henry <[email protected]> ---
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
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to