From: Christian Heller Date: Sun, 21 Jul 2013 04:00:32 +0000 (+0200) Subject: Removed unneeded AND operation. X-Git-Tag: tce~1139 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/todo?a=commitdiff_plain;h=f350d81aac58d07ca1c614d63a03cf522a2d3ddb;p=plomrogue Removed unneeded AND operation. --- 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);