aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py/source/main.cpp')
-rw-r--r--externals/grill/py/source/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/grill/py/source/main.cpp b/externals/grill/py/source/main.cpp
index 0434f682..034fefd2 100644
--- a/externals/grill/py/source/main.cpp
+++ b/externals/grill/py/source/main.cpp
@@ -153,7 +153,7 @@ V py::m__doc(PyObject *obj)
// -> split into separate lines
for(;;) {
char buf[1024];
- char *nl = strchr(s,'\n');
+ char *nl = strchr((char *)s,'\n'); // the cast is for Borland C++
if(!nl) {
// no more newline found
post(s);