home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbb8526
)
Removed unneeded AND operation.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 21 Jul 2013 04:00:32 +0000
(06:00 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 21 Jul 2013 04:00:32 +0000
(06:00 +0200)
src/readwrite.c
patch
|
blob
|
history
diff --git
a/src/readwrite.c
b/src/readwrite.c
index 8afcfb59bf204bfbb0fafb5b765c57488af25ac9..19fca5d007d79aa33f85e5f0883cdb24b8e796c4 100644
(file)
--- 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);