summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-14 19:44:42 +0000
committertron <tron@openttd.org>2005-01-14 19:44:42 +0000
commit3a838447a8b07f880567b452f274e732c0c712b4 (patch)
treed828e21ec23baa344c4322a92d6bca5c68aa692a /unix.c
parent4136f395bf45b537d9756efb045c7db4bafa975d (diff)
downloadopenttd-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index 46feb28d5..825e6f3c1 100644
--- a/unix.c
+++ b/unix.c
@@ -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++ = '/';