diff options
author | Max Kellermann <max@duempel.org> | 2015-08-11 22:57:47 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-08-11 22:57:47 +0200 |
commit | ee61dfe08742b76b1c637a038dd5b3a6b244ece7 (patch) | |
tree | 08d5dcded4f95edf98fa74236cd296dc93795f91 /src/protocol/ArgParser.cxx | |
parent | 9231f420c199a7c12cb8aad17bcca80a0aaca6ad (diff) | |
download | mpd-ee61dfe08742b76b1c637a038dd5b3a6b244ece7.tar.gz mpd-ee61dfe08742b76b1c637a038dd5b3a6b244ece7.tar.xz mpd-ee61dfe08742b76b1c637a038dd5b3a6b244ece7.zip |
protocol/ArgParser: use std::numeric_limits
Using unsigned(-1) renders undefined behavior.
Diffstat (limited to '')
-rw-r--r-- | src/protocol/ArgParser.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/protocol/ArgParser.cxx b/src/protocol/ArgParser.cxx index 2c3e21f79..1dbbd0cf3 100644 --- a/src/protocol/ArgParser.cxx +++ b/src/protocol/ArgParser.cxx @@ -22,8 +22,6 @@ #include "Result.hxx" #include "Chrono.hxx" -#include <limits> - #include <stdlib.h> bool |