Fixed invalid pointer cast
This commit is contained in:
parent
e6e23669ee
commit
58f3494f6f
@ -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