mirror of
https://github.com/glest/glest-source.git
synced 2025-08-08 17:36:30 +02:00
- msvc compiler warning cleanup
This commit is contained in:
@@ -259,7 +259,7 @@ const char* ftpGetRealPath(int id, const char* path, int normalize)
|
||||
|
||||
const char *ftp_rootget = ftpGetRoot(sessions[id].userId, &len);
|
||||
snprintf(ftpRoot,2047,"%s",ftp_rootget);
|
||||
ftpRootLen = strlen(ftpRoot);
|
||||
ftpRootLen = (int)strlen(ftpRoot);
|
||||
if(ftpRootLen > 0 && ftpRoot[ftpRootLen-1] != '/') {
|
||||
strcat(ftpRoot,"/");
|
||||
}
|
||||
|
Reference in New Issue
Block a user