Code

screen_search: pass const string to search_get_tag_id()
authorMax Kellermann <max@duempel.org>
Thu, 24 Sep 2009 21:08:07 +0000 (23:08 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 24 Sep 2009 21:08:07 +0000 (23:08 +0200)
src/screen_search.c

index 12bc5f92af755d69c563a0e3832eb06c2420843a..cced93a07533abc68d5ea85136facc5db53c9fe0 100644 (file)
@@ -50,7 +50,7 @@ static const struct {
 };
 
 static int
-search_get_tag_id(char *name)
+search_get_tag_id(const char *name)
 {
        unsigned i;