mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix checkcodebase warnings
This commit is contained in:
@@ -62,7 +62,7 @@ static int64_t readlong(FILE *file)
|
||||
* however causes values larger than 127 to be too large when
|
||||
* shifted, potentially triggering undefined behavior.
|
||||
*/
|
||||
value |= (unsigned)byte << shift;
|
||||
value |= (unsigned int)byte << shift;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user