You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
Fix some LGTM errors of "Multiplication result converted to larger type"
This commit is contained in:
@@ -99,7 +99,7 @@ static int godot_testerror(voidpf opaque, voidpf stream) {
|
||||
}
|
||||
|
||||
static voidpf godot_alloc(voidpf opaque, uInt items, uInt size) {
|
||||
return memalloc(items * size);
|
||||
return memalloc((size_t)items * size);
|
||||
}
|
||||
|
||||
static void godot_free(voidpf opaque, voidpf address) {
|
||||
|
||||
Reference in New Issue
Block a user