From 5da99261740893e8fab04ec04b1bed5567817f8e Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Sun, 19 Jan 2020 19:49:46 +0100 Subject: [PATCH] Fix one warning --- src/HttpRouter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpRouter.h b/src/HttpRouter.h index 0353110..dd62269 100644 --- a/src/HttpRouter.h +++ b/src/HttpRouter.h @@ -217,7 +217,7 @@ public: } /* Adds the corresponding entires in matching tree and handler list */ - void add(std::vector methods, std::string pattern, fu2::unique_function &&handler, int priority = MEDIUM_PRIORITY) { + void add(std::vector methods, std::string pattern, fu2::unique_function &&handler, uint32_t priority = MEDIUM_PRIORITY) { for (std::string method : methods) { /* Lookup method */ Node *node = getNode(&root, method, false);