mirror of
https://github.com/aap/librw.git
synced 2025-12-22 02:19:56 +00:00
Fix sdl and linux build
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user