summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/tests/psxtests/psxstat/test.c2
-rw-r--r--testsuites/psxtests/psxstat/test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/src/tests/psxtests/psxstat/test.c b/c/src/tests/psxtests/psxstat/test.c
index 68965dc869..a5cc417a27 100644
--- a/c/src/tests/psxtests/psxstat/test.c
+++ b/c/src/tests/psxtests/psxstat/test.c
@@ -194,7 +194,7 @@ void stat_a_file(
printf("\n\tst_dev (0x%x:0x%x)\n", major1, minor1 );
- printf( "...st_ino %x\n", statbuf.st_ino );
+ printf( "...st_ino %x\n", (int) statbuf.st_ino );
printf( "...st_mode %o\n", statbuf.st_mode );
printf( "...st_nlink %x\n", statbuf.st_nlink );
printf( "...st_uid %d\n", statbuf.st_uid );
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c
index 68965dc869..a5cc417a27 100644
--- a/testsuites/psxtests/psxstat/test.c
+++ b/testsuites/psxtests/psxstat/test.c
@@ -194,7 +194,7 @@ void stat_a_file(
printf("\n\tst_dev (0x%x:0x%x)\n", major1, minor1 );
- printf( "...st_ino %x\n", statbuf.st_ino );
+ printf( "...st_ino %x\n", (int) statbuf.st_ino );
printf( "...st_mode %o\n", statbuf.st_mode );
printf( "...st_nlink %x\n", statbuf.st_nlink );
printf( "...st_uid %d\n", statbuf.st_uid );