X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshcrc.c;h=a993e98b716533b895d7a768faa80b51506bcca5;hb=4455604dbce2d175ce1d601d51472bb1b0a535d8;hp=ed20395b7247d73fc515929971056df048d8da18;hpb=06e6997a742abcfc7cd9f10698bbc390c52a2404;p=PuTTY.git diff --git a/sshcrc.c b/sshcrc.c index ed20395b..a993e98b 100644 --- a/sshcrc.c +++ b/sshcrc.c @@ -198,12 +198,11 @@ static const unsigned long crc32_table[256] = { #ifdef GENPROGRAM int main(void) { - unsigned long crcword; int i; crc32_init(); for (i = 0; i < 256; i++) { - printf("%s0x%08XL%s", + printf("%s0x%08lXL%s", (i % 4 == 0 ? " " : " "), crc32_table[i], (i % 4 == 3 ? (i == 255 ? "\n" : ",\n") : ","));