lib/slave_config.c
branchstable-1.5
changeset 2480 8b1e26cc88ac
parent 2449 5db725cc40f9
child 2505 5ef3197e5e1f
--- a/lib/slave_config.c	Thu Dec 06 13:53:38 2012 +0100
+++ b/lib/slave_config.c	Thu Dec 06 13:54:09 2012 +0100
@@ -521,7 +521,7 @@
     if (size) {
         req->data = malloc(size);
         if (!req->data) {
-            fprintf(stderr, "Failed to allocate %u bytes of SDO data"
+            fprintf(stderr, "Failed to allocate %zu bytes of SDO data"
                     " memory.\n", size);
             free(req);
             return 0;
@@ -591,7 +591,7 @@
     if (size) {
         reg->data = malloc(size);
         if (!reg->data) {
-            fprintf(stderr, "Failed to allocate %u bytes of register data"
+            fprintf(stderr, "Failed to allocate %zu bytes of register data"
                     " memory.\n", size);
             free(reg);
             return 0;
@@ -656,7 +656,7 @@
     if (size) {
         voe->data = malloc(size);
         if (!voe->data) {
-            fprintf(stderr, "Failed to allocate %u bytes of VoE data"
+            fprintf(stderr, "Failed to allocate %zu bytes of VoE data"
                     " memory.\n", size);
             free(voe);
             return 0;