diff options
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r-- | src/helperfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 82ee5c148..1062e14ef 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1494,7 +1494,7 @@ bool DirValid(char* dirandfile) if( getcwd( otherdir, MAXBUF ) == NULL ) return false; chdir(buffer); - int t = strlen(work); + size_t t = strlen(work); if (strlen(otherdir) >= t) { otherdir[t] = '\0'; |