fixed windows compilation

This commit is contained in:
Cyril Soler 2016-01-13 10:23:21 -05:00
parent 4916496008
commit b56881e6d9
2 changed files with 2 additions and 2 deletions

View file

@ -273,7 +273,7 @@ bool RsLoginHandler::tryAutoLogin(const RsPeerId& ssl_id,std::string& ssl_passwd
fseek(fp, 0, SEEK_END);
datalen = ftell(fp);
fseek(fp, 0, SEEK_SET);
dataptr = (char *) rs_safe_malloc(datalen);
dataptr = (char *) rs_malloc(datalen);
if(data_ptr == NULL)
{