From bb45348f05c9541276491e9b5737903a5c13a43a Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Wed, 23 May 2012 18:46:55 +0200 Subject: [PATCH] [Client] Fix printf conversion for MAX_PKT_SIZE --- owlps-client/owlps-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/owlps-client/owlps-client.c b/owlps-client/owlps-client.c index da3f608..0e7335d 100644 --- a/owlps-client/owlps-client.c +++ b/owlps-client/owlps-client.c @@ -329,8 +329,8 @@ void check_configuration() { #ifdef DEBUG fprintf(stderr, - "Warning! pkt_size cannot be greater than %hu bytes:" - " failing back to %hu.\n", MAX_PKT_SIZE, MAX_PKT_SIZE) ; + "Warning! pkt_size cannot be greater than %d bytes:" + " failing back to %d.\n", MAX_PKT_SIZE, MAX_PKT_SIZE) ; #endif // DEBUG options.pkt_size = MAX_PKT_SIZE ; }