From 3a838447a8b07f880567b452f274e732c0c712b4 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 14 Jan 2005 19:44:42 +0000 Subject: (svn r1509) Const correctness and add static where appropriate while touching the lines anyway --- unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix.c') 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++ = '/'; -- cgit v1.2.3-54-g00ecf