mirror of
https://github.com/openharmony/third_party_sane-airscan.git
synced 2026-07-01 21:14:00 -04:00
Fixed clang/i386 build (fixes #117)
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ image_decoder_bmp_read_line (image_decoder *decoder, void *buffer)
|
||||
int i, wid = bmp->info_header.biWidth;
|
||||
uint8_t *out = buffer;
|
||||
|
||||
if (bmp->next_line == labs(bmp->info_header.biHeight)) {
|
||||
if (bmp->next_line == (unsigned int) labs(bmp->info_header.biHeight)) {
|
||||
return ERROR("BMP: end of file");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user