From 435c955acd7b4472f895d6401b57aac7b9c554a2 Mon Sep 17 00:00:00 2001 From: geeksville Date: Tue, 15 Sep 2020 21:05:57 -0700 Subject: [PATCH] make hash prototype a bit stricter --- src/mesh/RadioInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/RadioInterface.cpp b/src/mesh/RadioInterface.cpp index 4d43d22ff..ae4ef4219 100644 --- a/src/mesh/RadioInterface.cpp +++ b/src/mesh/RadioInterface.cpp @@ -107,7 +107,7 @@ bool RadioInterface::init() * djb2 by Dan Bernstein. * http://www.cse.yorku.ca/~oz/hash.html */ -unsigned long hash(char *str) +unsigned long hash(const char *str) { unsigned long hash = 5381; int c;