Minor: Fixed format specifiers. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Thu, 06 Dec 2012 13:53:09 +0100
branchstable-1.5
changeset 2478 9640948881fd
parent 2477 1d5ebfb7fec1
child 2479 b7f84bebd965
Minor: Fixed format specifiers.
lib/sdo_request.c
--- a/lib/sdo_request.c	Thu Dec 06 11:24:04 2012 +0100
+++ b/lib/sdo_request.c	Thu Dec 06 13:53:09 2012 +0100
@@ -124,8 +124,8 @@
 
     if (data.size) { // new data waiting to be copied
         if (req->mem_size < data.size) {
-            fprintf(stderr, "Received %u bytes do not fit info SDO data"
-                    " memory (%u bytes)!\n", data.size, req->mem_size);
+            fprintf(stderr, "Received %zu bytes do not fit info SDO data"
+                    " memory (%zu bytes)!\n", data.size, req->mem_size);
             return EC_REQUEST_ERROR;
         }