diff options
| author | Russ White <russ@riw.us> | 2019-05-16 10:00:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-16 10:00:55 -0400 |
| commit | 6f33cbff181010025cb2c9f80aad3c12696e19b0 (patch) | |
| tree | 7508b66be1548adf4ff1a81dc6006744b7b46ebb /lib/command.c | |
| parent | caca2c705c779e536ca4432912a5a8b1d5cc825a (diff) | |
| parent | d8b87afe7c5fcee9caaef7124d5bcd5f0c3af8a1 (diff) | |
Merge pull request #4340 from qlyoung/hash-key-const
lib: hashing functions should take const arguments
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index d6fd1fa561..b7a323e358 100644 --- a/lib/command.c +++ b/lib/command.c @@ -332,7 +332,7 @@ int argv_find(struct cmd_token **argv, int argc, const char *text, int *index) return found; } -static unsigned int cmd_hash_key(void *p) +static unsigned int cmd_hash_key(const void *p) { int size = sizeof(p); |
