From 3125035c23b0107d64c8540285aea71c8782e8cb Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sat, 14 May 2011 20:24:34 +0000 Subject: [PATCH] Fix typecast --- code/game/bg_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/bg_lib.c b/code/game/bg_lib.c index 535f4393..3ad3984f 100644 --- a/code/game/bg_lib.c +++ b/code/game/bg_lib.c @@ -241,7 +241,7 @@ char *strchr( const char *string, int c ) { if(c) return NULL; else - return string; + return (char *) string; } char *strstr( const char *string, const char *strCharSet ) {