aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/test-fpucw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/test-fpucw.c b/math/test-fpucw.c
index 0294a42..d5706f1 100644
--- a/math/test-fpucw.c
+++ b/math/test-fpucw.c
@@ -32,8 +32,8 @@ main (void)
cw &= ~_FPU_RESERVED;
if (cw != (_FPU_DEFAULT & ~_FPU_RESERVED))
- printf ("control word is 0x%x but should be 0x%x.\n",
- cw, (_FPU_DEFAULT & ~_FPU_RESERVED));
+ printf ("control word is 0x%lx but should be 0x%lx.\n",
+ (long int) cw, (long int) (_FPU_DEFAULT & ~_FPU_RESERVED));
return cw != (_FPU_DEFAULT & ~_FPU_RESERVED);