From f350d81aac58d07ca1c614d63a03cf522a2d3ddb Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 21 Jul 2013 06:00:32 +0200 Subject: [PATCH] Removed unneeded AND operation. --- src/readwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2