X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=src%2Freadwrite.c;h=19fca5d007d79aa33f85e5f0883cdb24b8e796c4;hb=f350d81aac58d07ca1c614d63a03cf522a2d3ddb;hp=8afcfb59bf204bfbb0fafb5b765c57488af25ac9;hpb=84fec7f904ee0951c85803071b53002b6bd6e93b;p=plomrogue diff --git a/src/readwrite.c b/src/readwrite.c index 8afcfb5..19fca5d 100644 --- a/src/readwrite.c +++ b/src/readwrite.c @@ -30,7 +30,7 @@ extern void write_uint16_bigendian( uint16_t x, FILE * file ) extern void write_uint32_bigendian( uint32_t x, FILE * file ) { - fputc( ( x >> 24 ) & 0xFF, file); + fputc( x >> 24, file); fputc( ( x >> 16 ) & 0xFF, file); fputc( ( x >> 8 ) & 0xFF, file); fputc( x & 0xFF, file);