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