about summary refs log tree commit diff
path: root/localedata/tests-mbwc/tst_wcstod.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tests-mbwc/tst_wcstod.c')
-rw-r--r--localedata/tests-mbwc/tst_wcstod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/localedata/tests-mbwc/tst_wcstod.c b/localedata/tests-mbwc/tst_wcstod.c
index 5ee151bd54..1648d35397 100644
--- a/localedata/tests-mbwc/tst_wcstod.c
+++ b/localedata/tests-mbwc/tst_wcstod.c
@@ -30,7 +30,8 @@ tst_wcstod (FILE * fp, int debug_flg)
 	{
 	  fprintf (stdout, "wcstod() [ %s : %d ] ret  = %f\n", locale,
 		   rec + 1, ret);
-	  fprintf (stdout, "			  *endp = 0x%lx\n", *endp);
+	  fprintf (stdout, "			  *endp = 0x%lx\n",
+		   (unsigned long int) *endp);
 	}
 
       TST_IF_RETURN (S_WCSTOD)