mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 16:58:33 +08:00
@@ -853,7 +853,7 @@ testable int calcSegmentBitLength(enum qrcodegen_Mode mode, size_t numChars) {
|
||||
return -1;
|
||||
}
|
||||
assert(result >= 0);
|
||||
if (result > (unsigned int)INT16_MAX)
|
||||
if ((unsigned int)result > (unsigned int)INT16_MAX)
|
||||
return -1;
|
||||
return (int)result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user