--- klogic-1.63.orig/klogic/symbolicCalc.cpp
+++ klogic-1.63/klogic/symbolicCalc.cpp
@@ -346,7 +346,7 @@
 // assumes that there are no parenthesis errors!
 int SymbolicCalc::needsParenthesis(const char * eq, char op)
 {
-	char *par = strchr(eq, '(');
+	char *par = (char *) strchr(eq, '(');
 	if (!par) {
 		switch (op) {
 			case Operator::NOT:
@@ -369,7 +369,7 @@
 				break;
 		}
 	}
-	char * deq = strrchr(eq, ')');
+	char * deq = (char *) strrchr(eq, ')');
 	if (!deq) fatal("fatal parenthesis error in class SymbolicCalc!\n");
 	*par = 0;
 	switch (op) {
