aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ":\\"