diff options
-rw-r--r-- | src/command/Request.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/Request.hxx b/src/command/Request.hxx index f6f0072a0..7a459bb0f 100644 --- a/src/command/Request.hxx +++ b/src/command/Request.hxx @@ -54,12 +54,12 @@ public: return ParseCommandArgInt(data[idx], min_value, max_value); } - int ParseUnsigned(unsigned idx) const { + unsigned ParseUnsigned(unsigned idx) const { assert(idx < size); return ParseCommandArgUnsigned(data[idx]); } - int ParseUnsigned(unsigned idx, unsigned max_value) const { + unsigned ParseUnsigned(unsigned idx, unsigned max_value) const { assert(idx < size); return ParseCommandArgUnsigned(data[idx], max_value); } |