projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a7c520
)
tiger-mktab.c: Don't have printf swallow a kludge64 whole.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 20 May 2011 23:55:19 +0000
(
00:55
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 20 May 2011 23:55:19 +0000
(
00:55
+0100)
If a 64-bit type was actually found, we tried to feed the containing
kludge64 structure to printf while printing the table, rather than just
the 64-bit number inside. This was silly.
tiger-mktab.c
patch
|
blob
|
blame
|
history
diff --git
a/tiger-mktab.c
b/tiger-mktab.c
index
4ba0ffb
..
222c523
100644
(file)
--- a/
tiger-mktab.c
+++ b/
tiger-mktab.c
@@
-121,7
+121,7
@@
int main(void)
for (i = 0; i < 4; i++) {
for (j = 0; j < 256; j++) {
#ifdef HAVE_UINT64
- printf("{ 0x%016llxull }", s[i][j]);
+ printf("{ 0x%016llxull }", s[i][j]
.i
);
#else
printf("{ 0x%08lx, 0x%08lx }",
(unsigned long)s[i][j].hi, (unsigned long)s[i][j].lo);