X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/bfe85f7ca97259256e8089349e1a462b6c7dbd00..9c83aec95567d36b32144b8a7234fbc9fa39238b:/src/util.h diff --git a/src/util.h b/src/util.h index b897a89e..59dd10ac 100644 --- a/src/util.h +++ b/src/util.h @@ -5,8 +5,8 @@ int stringmatchlen(const char *p, int plen, const char *s, int slen, int nocase) int stringmatch(const char *p, const char *s, int nocase); long long memtoll(const char *p, int *err); int ll2string(char *s, size_t len, long long value); -int string2ll(char *s, size_t slen, long long *value); -int string2l(char *s, size_t slen, long *value); +int string2ll(const char *s, size_t slen, long long *value); +int string2l(const char *s, size_t slen, long *value); int d2string(char *buf, size_t len, double value); #endif