diff --git a/src/des/make_p_table.c b/src/des/make_p_table.c index a61f9e7eb4..8b8c76668f 100644 --- 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))