summaryrefslogtreecommitdiff
blob: 43a26393d4f42276685a99d1302f244a53093e0e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ntext.cc
+++ ntext.cc
@@ -244,7 +244,7 @@
     return;
   }
 
-  p = strchr(text, '\n');
+  p = strchr((char *)text, '\n');
   if (p!=NULL) {
     *p = 0;
     i = strlen(text);