- pass -Wcast-qual to gcc
[citadel.git] / citadel / tools.c
index bb7e2a9ed9fb38fb346fcdb99849c159fabefbb6..493e90b2ece55e923fce1bd6bbbc55087cd316e9 100644 (file)
@@ -340,7 +340,7 @@ void striplt(char *buf)
 /* 
  * Return the number of occurances of character ch in string st
  */ 
-int haschar(char *st, int ch)
+int haschar(const char *st, int ch)
 {
        int a, b;
        b = 0;