--- byteorder.c.org 2010-05-11 10:25:43.000000000 +0200 +++ byteorder.c 2010-05-11 10:25:55.000000000 +0200 @@ -68,7 +68,7 @@ } if (debug) { - printf("sizeof(unsigned int) = %d\n", sizeof(unsigned int)); + printf("sizeof(unsigned int) = %ld\n", sizeof(unsigned int)); printf("unsigned int test = 1;\n"); printf("in memory as: "); for (j = 0; j < sizeof(unsigned int); j++)