mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 17:42:48 +00:00
make hash prototype a bit stricter
This commit is contained in:
parent
c6d93d1a28
commit
435c955acd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user