mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
fix format string bug in fptox.c
This commit is contained in:
parent
727abf1f73
commit
b78e030bcc
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user