summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/imageutl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/imageutl.c')
-rw-r--r--src/lib/formats/imageutl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/formats/imageutl.c b/src/lib/formats/imageutl.c
index b662792ba95..74f85a97d44 100644
--- a/src/lib/formats/imageutl.c
+++ b/src/lib/formats/imageutl.c
@@ -106,7 +106,7 @@ unsigned short ccitt_crc16(unsigned short crc, const unsigned char *buffer, size
unsigned short ccitt_crc16_one( unsigned short crc, const unsigned char data )
{
- return (crc << 8) ^ ccitt_crc16_table[(crc >> 8) ^ data];
+ return (crc << 8) ^ ccitt_crc16_table[(crc >> 8) ^ data];
}
@@ -220,4 +220,3 @@ void image_specify_extension(char *buffer, size_t buffer_len, const char *extens
}
}
}
-