diff options
author | tron <tron@openttd.org> | 2005-01-14 19:44:42 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-14 19:44:42 +0000 |
commit | 3a838447a8b07f880567b452f274e732c0c712b4 (patch) | |
tree | d828e21ec23baa344c4322a92d6bca5c68aa692a /unix.c | |
parent | 4136f395bf45b537d9756efb045c7db4bafa975d (diff) | |
download | openttd-3a838447a8b07f880567b452f274e732c0c712b4.tar.xz |
(svn r1509) Const correctness and add static where appropriate while touching the lines anyway
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -263,7 +263,7 @@ char *FiosBrowseTo(const FiosItem *item) break; case FIOS_TYPE_DIR: - s = strchr((char*)item->name, '/'); + s = strchr(item->name, '/'); if (s) *s = 0; while (*path) path++; *path++ = '/'; |