summaryrefslogtreecommitdiff
path: root/src/Update.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-22 18:04:55 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-22 18:04:55 (GMT)
commit333509842d90e8986a09635540c3a519999f065f (patch)
tree701dfd013505ad932ff96c981ebdc1f2fd79d011 /src/Update.cpp
parenteb52f759de6f0805865fb7f31444f2b1421b4d25 (diff)
parent6fa05d1930964d0a09093c627b30241d73c69dda (diff)
downloadpowder-333509842d90e8986a09635540c3a519999f065f.zip
powder-333509842d90e8986a09635540c3a519999f065f.tar.gz
Merge branch 'master' of github.com:FacialTurd/PowderToypp
Diffstat (limited to 'src/Update.cpp')
-rw-r--r--src/Update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Update.cpp b/src/Update.cpp
index cee0b7c..d73eb7e 100644
--- a/src/Update.cpp
+++ b/src/Update.cpp
@@ -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");