[Bug 2026516] Review Request: SentryPeer - a peer to peer SIP honeypot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #14 from Gavin Henry <ghenry@xxxxxxxxxxxxxx> ---
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 -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux