GNS3 / iouyap

Bridge IOU to UDP, TAP and Ethernet.
GNU General Public License v3.0
23 stars 10 forks source link

Clean up format specifiers in log_error calls #6

Closed jseutter closed 9 years ago

jseutter commented 9 years ago

This pull request cleans up compile warnings like:

iouyap.c: In function ‘foreign_listener’: iouyap.c:420:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ [-Wformat=] debug_log_fmt ("received %d bytes (sfd=%d)\n", ^

With this changeset, compiling no longer generates warnings (tested on gcc 4.8.2)