From a38f02541d82ce27666e27bf7e3123bff621ca70 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Jan 2015 22:19:36 +0100 Subject: config/Param: make "line" signed --- src/config/Param.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config') diff --git a/src/config/Param.hxx b/src/config/Param.hxx index 7f3737494..a3cd3f83a 100644 --- a/src/config/Param.hxx +++ b/src/config/Param.hxx @@ -38,7 +38,7 @@ struct config_param { std::string value; - unsigned int line; + int line; std::vector block_params; @@ -66,7 +66,7 @@ struct config_param { * configuration file. */ bool IsNull() const { - return line == unsigned(-1); + return line < 0; } gcc_nonnull_all -- cgit v1.2.3