diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-11 19:03:42 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-11 19:03:42 -0500 |
commit | b78e030bcc4aac67ce58794c467fd46a18055aea (patch) | |
tree | b859f5802facf6b1e834cd69db05d5dac6fc4cd4 /lisc/tools | |
parent | 727abf1f7311d5488b8c46aa0678e57c1d5f5dbc (diff) | |
download | roux-b78e030bcc4aac67ce58794c467fd46a18055aea.tar.gz |
fix format string bug in fptox.c
Diffstat (limited to 'lisc/tools')
-rw-r--r-- | lisc/tools/fptox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/tools/fptox.c b/lisc/tools/fptox.c index 8f07565..a2bc155 100644 --- 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; } |