des-fix-make-p-table-on-alpha-20020119

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).
This commit is contained in:
Love Hörnquist-Åstrand 2002-01-19 09:21:12 +00:00 committed by Derrick Brashear
parent a1aba97dbb
commit 0a94f88f96

View File

@ -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))