Fixed invalid pointer cast

This commit is contained in:
Bryan Hoyle 2012-06-22 12:00:00 -04:00
parent e6e23669ee
commit 58f3494f6f

View File

@ -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");