From: Christian Heller Date: Sun, 21 Jul 2013 04:02:46 +0000 (+0200) Subject: Minor code-stylistic adjustment. X-Git-Tag: tce~1138 X-Git-Url: https://plomlompom.com/repos/process_titles?a=commitdiff_plain;h=27cee0624f3dc430199c99f000179a3385e4d7c5;p=plomrogue Minor code-stylistic adjustment. --- diff --git a/src/readwrite.c b/src/readwrite.c index 19fca5d..449e96b 100644 --- a/src/readwrite.c +++ b/src/readwrite.c @@ -7,18 +7,18 @@ extern uint16_t read_uint16_bigendian( FILE * file ) { uint16_t x; - x = (uint16_t) fgetc(file) << 8 ; - x = x + (uint16_t) fgetc(file) ; + x = (uint16_t) fgetc(file) << 8; + x = x + (uint16_t) fgetc(file); return x; } extern uint32_t read_uint32_bigendian( FILE * file ) { uint32_t x; - x = (uint32_t) fgetc(file) << 24 ; - x = x + ( (uint32_t) fgetc(file) << 16 ) ; - x = x + ( (uint32_t) fgetc(file) << 8 ) ; - x = x + (uint32_t) fgetc(file) ; + x = (uint32_t) fgetc(file) << 24; + x = x + ( (uint32_t) fgetc(file) << 16 ); + x = x + ( (uint32_t) fgetc(file) << 8 ); + x = x + (uint32_t) fgetc(file); return x; }