mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-25 17:20:47 +02:00
Fixed invalid pointer cast
This commit is contained in:
@@ -108,7 +108,7 @@ int update_start(char *data, int len)
|
||||
|
||||
return 0;
|
||||
#else
|
||||
temp = malloc(strlen(self)+8);
|
||||
temp = (char*)malloc(strlen(self)+8);
|
||||
strcpy(temp, self);
|
||||
strcat(temp, "-update");
|
||||
|
||||
|
Reference in New Issue
Block a user