mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-01 17:29:35 +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.
|
* djb2 by Dan Bernstein.
|
||||||
* http://www.cse.yorku.ca/~oz/hash.html
|
* http://www.cse.yorku.ca/~oz/hash.html
|
||||||
*/
|
*/
|
||||||
unsigned long hash(char *str)
|
unsigned long hash(const char *str)
|
||||||
{
|
{
|
||||||
unsigned long hash = 5381;
|
unsigned long hash = 5381;
|
||||||
int c;
|
int c;
|
||||||
|
Loading…
Reference in New Issue
Block a user