src/newgrf_config.cpp
changeset 9146 dbe2317185eb
parent 9133 705318ad20db
child 9428 1ba05b499957
equal deleted inserted replaced
9145:ae595994eb03 9146:dbe2317185eb
   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;