commit b78e030bcc4aac67ce58794c467fd46a18055aea
parent 727abf1f7311d5488b8c46aa0678e57c1d5f5dbc
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Thu, 11 Feb 2016 19:03:42 -0500
fix format string bug in fptox.c
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisc/tools/fptox.c b/lisc/tools/fptox.c
@@ -13,6 +13,6 @@ main(int ac, char *av[])
return 1;
}
f = d = strtod(av[1], 0);
- printf("0x%08x 0x%016lx\n", *(unsigned *)&f, *(unsigned long long*)&d);
+ printf("0x%08x 0x%016llx\n", *(unsigned *)&f, *(unsigned long long*)&d);
return 0;
}