From 79fdc7386c65a68530c4f39fade26d7fd7826c30 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 9 Dec 2003 03:38:54 +0000 Subject: "" svn path=/trunk/; revision=1211 --- externals/grill/pool/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'externals/grill/pool') diff --git a/externals/grill/pool/main.cpp b/externals/grill/pool/main.cpp index dd2567b5..f9b6993c 100644 --- a/externals/grill/pool/main.cpp +++ b/externals/grill/pool/main.cpp @@ -1121,8 +1121,9 @@ std::string pool::MakeFilename(const C *fn) const { #if FLEXT_SYS == FLEXT_SYS_PD // / and \ must not be mixed! - C *sl = strchr(fn,'/'); - if(!sl) sl = strchr(fn,'\\'); + // (char *) type casts for BorlandC++ + C *sl = strchr((C *)fn,'/'); + if(!sl) sl = strchr((C *)fn,'\\'); if(!sl || (sl != fn #if FLEXT_OS == FLEXT_OS_WIN && sl[-1] != ':' // look for drive specification with ":/" or ":\\" -- cgit v1.2.1