Fix sdl and linux build

This commit is contained in:
Filip Gawin
2020-04-24 17:41:48 +02:00
parent 374f951d7c
commit e3227f5558
10 changed files with 18 additions and 13 deletions

View File

@@ -475,7 +475,7 @@ static char*
rwstrdup(const char *s)
{
char *t;
int32 len = strlen(s)+1;
size_t len = strlen(s)+1;
t = (char*)rwMalloc(len, MEMDUR_EVENT);
if(t)
memcpy(t, s, len);