Get 32-bit and C++ Mac builds happy with libuv.

This commit is contained in:
Bob Nystrom
2015-08-16 10:28:55 -07:00
parent 6be1dce49c
commit cd5087d222
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ static void startTimer(WrenVM* vm)
char* timerGetSource()
{
size_t length = strlen(timerLibSource);
char* copy = malloc(length + 1);
char* copy = (char*)malloc(length + 1);
strncpy(copy, timerLibSource, length);
return copy;