src/newgrf_config.cpp
changeset 10465 0c68afe3d725
parent 10451 02dc0c5f3647
child 10792 95b6eb9fcc9e
equal deleted inserted replaced
10464:a31507086dd2 10465:0c68afe3d725
   307 
   307 
   308 	return added;
   308 	return added;
   309 }
   309 }
   310 
   310 
   311 /* Scan a path for NewGRFs */
   311 /* Scan a path for NewGRFs */
   312 static uint ScanPath(const char *path, int basepath_length)
   312 static uint ScanPath(const char *path, size_t basepath_length)
   313 {
   313 {
   314 	extern bool FiosIsValidFile(const char *path, const struct dirent *ent, struct stat *sb);
   314 	extern bool FiosIsValidFile(const char *path, const struct dirent *ent, struct stat *sb);
   315 
   315 
   316 	uint num = 0;
   316 	uint num = 0;
   317 	struct stat sb;
   317 	struct stat sb;