summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/test/guard_b.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/test/guard_b.c')
-rw-r--r--lib/libc_r/test/guard_b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/test/guard_b.c b/lib/libc_r/test/guard_b.c
index 3824c07..35aa406 100644
--- a/lib/libc_r/test/guard_b.c
+++ b/lib/libc_r/test/guard_b.c
@@ -71,7 +71,7 @@ recurse(void *args)
*/
if (parms->top - (void *)&top != FRAME_SIZE * parms->cur) {
fprintf(stderr, "Stack size (%d) != expected (%d), frame %d\n",
- parms->top - (void *)&top, FRAME_SIZE * parms->cur,
+ (int)(parms->top - (void *)&top), FRAME_SIZE * parms->cur,
parms->cur);
}
OpenPOWER on IntegriCloud