input to makeevr is const
authorKlaus Kaempf <kkaempf@suse.de>
Wed, 3 Sep 2008 15:09:59 +0000 (15:09 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Wed, 3 Sep 2008 15:09:59 +0000 (15:09 +0000)
tools/tools_util.h

index 15e38ca..ed7022d 100644 (file)
@@ -25,7 +25,7 @@ struct parsedata_common {
 };
 
 static inline Id
-makeevr(Pool *pool, char *s)
+makeevr(Pool *pool, const char *s)
 {
   if (!strncmp(s, "0:", 2) && s[2])
     s += 2;