We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4bb79 commit 1d4cda6Copy full SHA for 1d4cda6
1 file changed
src/libImaging/SgiRleDecode.c
@@ -22,7 +22,8 @@
22
23
static void
24
read4B(UINT32 *dest, UINT8 *buf) {
25
- *dest = (UINT32)((buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]);
+ *dest = ((UINT32)buf[0] << 24) | ((UINT32)buf[1] << 16) | ((UINT32)buf[2] << 8) |
26
+ buf[3];
27
}
28
29
/*
0 commit comments