Skip to content

Commit

Permalink
Fix one warning
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed Jan 19, 2020
1 parent 0faebc7 commit 5da9926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpRouter.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ struct HttpRouter {
}

/* Adds the corresponding entires in matching tree and handler list */
void add(std::vector<std::string> methods, std::string pattern, fu2::unique_function<bool(HttpRouter *)> &&handler, int priority = MEDIUM_PRIORITY) {
void add(std::vector<std::string> methods, std::string pattern, fu2::unique_function<bool(HttpRouter *)> &&handler, uint32_t priority = MEDIUM_PRIORITY) {
for (std::string method : methods) {
/* Lookup method */
Node *node = getNode(&root, method, false);
Expand Down

0 comments on commit 5da9926

Please sign in to comment.