diff options
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/Param.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<BlockParam> block_params; @@ -66,7 +66,7 @@ struct config_param { * configuration file. */ bool IsNull() const { - return line == unsigned(-1); + return line < 0; } gcc_nonnull_all |