aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol/ArgParser.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-08-11 22:57:47 +0200
committerMax Kellermann <max@duempel.org>2015-08-11 22:57:47 +0200
commitee61dfe08742b76b1c637a038dd5b3a6b244ece7 (patch)
tree08d5dcded4f95edf98fa74236cd296dc93795f91 /src/protocol/ArgParser.cxx
parent9231f420c199a7c12cb8aad17bcca80a0aaca6ad (diff)
downloadmpd-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 'src/protocol/ArgParser.cxx')
-rw-r--r--src/protocol/ArgParser.cxx2
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