- msvc compiler warning cleanup

This commit is contained in:
SoftCoder
2013-12-22 23:58:12 -08:00
parent bcaad53fbe
commit e0c2a388d4
7 changed files with 16 additions and 16 deletions

View File

@@ -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,"/");
}