summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
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';