lib/slave_config.c
changeset 2025 2d7e29d82e9a
parent 1995 7d748d9cf9e8
child 2589 2b9c78543663
--- a/lib/slave_config.c	Thu Dec 16 15:47:28 2010 +0100
+++ b/lib/slave_config.c	Thu Dec 16 15:48:01 2010 +0100
@@ -432,7 +432,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;
@@ -501,7 +501,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;