Skip to content
Snippets Groups Projects
Commit 41cd8c3a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix GCC 12.2 warning

warning: argument 1 value ‘18446744073709551608’ exceeds maximum
object size 9223372036854775807 [-Walloc-size-larger-than=]
parent fe14b001
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4002 passed
......@@ -11966,6 +11966,8 @@ do_rip_command(int level, int sublevel, int cmd, const char *rawargs)
if (no_viewport())
break;
arg1 = parse_mega(&args[0], 2);
if(arg1 < 1)
break;
struct point *argv = malloc(sizeof(struct point) * arg1);
x1 = rip.x_dim - 1;
y1 = rip.x_dim - 1;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment