diff --git a/src/HttpParser.h b/src/HttpParser.h index 2a9e774..5017548 100644 --- a/src/HttpParser.h +++ b/src/HttpParser.h @@ -136,7 +136,9 @@ public: currentParameters = parameters; } - std::string_view getParameter(unsigned int index) { + /* This one should take unsigned int, but really high numbers will + * overflow as int, so just accept int for now */ + std::string_view getParameter(/*unsigned */int index) { if (currentParameters.first < (int) index) { return {}; } else {