aboutsummaryrefslogtreecommitdiff
path: root/tools/create_translations/po_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/create_translations/po_parser.cpp')
-rw-r--r--tools/create_translations/po_parser.cpp2
1 files changed, 1 insertions, 1 deletions
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);