git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a1aba97
)
des-fix-make-p-table-on-alpha-20020119
author
Love Hörnquist-Åstrand
<lha@e.kth.se>
Sat, 19 Jan 2002 09:21:12 +0000 (09:21 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Sat, 19 Jan 2002 09:21:12 +0000 (09:21 +0000)
if printing with a long (l) unsigned (X), make sure to pass such a value as
an argument (p_prime is of int type on alpha).
src/des/make_p_table.c
patch
|
blob
|
history
diff --git
a/src/des/make_p_table.c
b/src/des/make_p_table.c
index
a61f9e7
..
8b8c766
100644
(file)
--- a/
src/des/make_p_table.c
+++ b/
src/des/make_p_table.c
@@
-58,7
+58,7
@@
void gen(stream)
for (j = 0; j < 64; j++) {
fprintf(stream,"\n");
for (k = 0; k < 4; k++) {
- fprintf(stream,"0x%08lX",P_prime[i][j*4+k]);
+ fprintf(stream,"0x%08lX",(unsigned long)P_prime[i][j*4+k]);
if ((j == 63) && (k == 3))
fprintf(stream, "}");
if ((i == 3) && (j == 63) && (k == 3))