equal
deleted
inserted
replaced
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; |