summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-03 10:07:28 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-04 09:08:05 -0500
commit9aa6ddf0ceab2bde0494d7d20ab9c95c71e214bd (patch)
tree21e51eb7e5e77f75b7e70b8fe504c27ccd5332a6
parentshell.c: Add cast to match printf() expectations for width specifier (diff)
downloadrtems-9aa6ddf0ceab2bde0494d7d20ab9c95c71e214bd.tar.bz2
spfreechain01/init.c: Use %zd for size_t to eliminate warning
-rw-r--r--testsuites/sptests/spfreechain01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spfreechain01/init.c b/testsuites/sptests/spfreechain01/init.c
index 434c126f7d..8f5e10f28d 100644
--- a/testsuites/sptests/spfreechain01/init.c
+++ b/testsuites/sptests/spfreechain01/init.c
@@ -51,7 +51,7 @@ bool my_freechain_extend_heap( Freechain_Control *freechain )
test_node *nodes = malloc(size);
if (!nodes) {
- printf( "INIT - Unable to allocate free chain of size: %d\n", size );
+ printf( "INIT - Unable to allocate free chain of size: %zd\n", size );
return NULL;
}
@@ -74,7 +74,7 @@ bool my_freechain_extend_workspace( Freechain_Control *freechain )
test_node *nodes = _Workspace_Allocate(size);
if (!nodes) {
- printf( "INIT - Unable to allocate free chain of size: %d\n", size );
+ printf( "INIT - Unable to allocate free chain of size: %zd\n", size );
return NULL;
}