X-Git-Url: https://rtime.felk.cvut.cz/gitweb/l4.git/blobdiff_plain/9347d109a9b928929fdc0cedcc1d867bd7e2a918..c02bb3e0b72cd17aaa3cdfb9587d934f1097cc1f:/l4/pkg/plr/server/src/configuration diff --git a/l4/pkg/plr/server/src/configuration b/l4/pkg/plr/server/src/configuration index 00a4379f7..eedcd8408 100644 --- a/l4/pkg/plr/server/src/configuration +++ b/l4/pkg/plr/server/src/configuration @@ -6,7 +6,7 @@ * * Handling of Romain config stuff * - * (c) 2011-2012 Björn Döbel , + * (c) 2011-2013 Björn Döbel , * economic rights: Technische Universität Dresden (Germany) * This file is part of TUD:OS and distributed under the terms of the * GNU General Public License 2. @@ -74,10 +74,10 @@ struct ConfigIntValue : public ConfigValue struct ConfigStringValue : public ConfigValue { char const *_val; - ConfigStringValue(char const * const key, char *_default = 0) + ConfigStringValue(char const * const key, char const *_default = 0) : ConfigValue() { - _val = iniparser_getstring(_dict, key, _default); + _val = iniparser_getstring(_dict, key, const_cast(_default)); } operator char const *() { return _val; }