--- kodilib/src/tools/KFileTools.cpp.orig	2004-06-30 20:03:38.000000000 +0400
+++ kodilib/src/tools/KFileTools.cpp	2013-12-24 05:02:16.028538916 +0400
@@ -299,7 +299,7 @@ bool kFileGetDirEntries ( const string &
     int fd = open (dirPath.c_str(), O_RDONLY | O_NONBLOCK);
     
     struct stat sb;
-    long   basep;
+    off_t  basep;
     char * entry;
             
     if (fstat(fd, &sb) == -1)
