aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-12-09 03:38:54 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-12-09 03:38:54 +0000
commit79fdc7386c65a68530c4f39fade26d7fd7826c30 (patch)
tree90998548f943102c8d56c3bf5ba34830d600652e /externals/grill/pool
parent5e37af09e119b1f6a1b0548731d885c8131af1a4 (diff)
""
svn path=/trunk/; revision=1211
Diffstat (limited to 'externals/grill/pool')
-rw-r--r--externals/grill/pool/main.cpp5
1 files changed, 3 insertions, 2 deletions
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 ":\\"