sforkowany z mirror/meshtastic-firmware
make hash prototype a bit stricter
rodzic
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;
|
||||||
|
|
Ładowanie…
Reference in New Issue