make hash prototype a bit stricter

This commit is contained in:
geeksville 2020-09-15 21:05:57 -07:00
parent c6d93d1a28
commit 435c955acd

View File

@ -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;