commit | df37d19e7723b89b146f4a6d6dcb918dedc0dfe9 | [log] [download] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Wed Feb 28 18:40:36 2007 +0300 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Feb 28 18:40:36 2007 +0300 |
tree | b488fb62ef29eb5a3caa5048a8b15ed4edc951f3 | |
parent | 87a40f6f64b58abc1bcb053ebc5116f18e0b225c [diff] |
src/lib/config.c: Fix "cast discards qualifiers from pointer target type" warnings src/lib/config.c (vps_parse_opt): Remove const qualifier from "const char *val" argument, because it may be passed to parsers which in turn may modify it using strtok(3). src/lib/config.c (parse_setmode, conf_store_str, parse_meminfo, parse_ub): Add const qualifier to "char *val" argument. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Acked-by: Kir Kolyshkin <kir@openvz.org>