From 2506560bda8dc43dfe996533e359323e3d344c2d Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Wed, 25 Aug 2010 19:41:59 +0000 Subject: TOOLS: const correctness to fix compilation. svn-id: r52394 --- tools/create_translations/po_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/create_translations') diff --git a/tools/create_translations/po_parser.cpp b/tools/create_translations/po_parser.cpp index f2cd5a5859..84de73355f 100644 --- a/tools/create_translations/po_parser.cpp +++ b/tools/create_translations/po_parser.cpp @@ -301,7 +301,7 @@ char *parseLine(const char *line, const char *field) { // It will return a NULL pointer if the field is not found. // It is used to parse the header of the po files to find the language name // and the charset. - char *str = strstr(line, field); + const char *str = strstr(line, field); if (str == NULL) return NULL; str += strlen(field); -- cgit v1.2.3