diff options
author | Dustin Sallings <dustin@spy.net> | 2009-03-15 00:29:45 -0700 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-03-19 01:52:54 -0700 |
commit | a977b5563ab73b764c5b257d6ed1f182b5cd92ca (patch) | |
tree | a0ebd8c5c089daffa004786eda509719703ca8db /util.h | |
parent | 24fda0fc94003e84ed719083316166ac5c64a53e (diff) | |
download | memcached-a977b5563ab73b764c5b257d6ed1f182b5cd92ca.tar.gz |
safe_strou?ll functions should operate on u?int64_t types.
long long and unsigned long long are interchangeable in most places,
but apparently not my 64-bit ubuntu 8.10 box.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -7,7 +7,5 @@ * * returns true if conversion succeeded. */ -bool safe_strtoull(const char *str, unsigned long long *out); -bool safe_strtoll(const char *str, long long *out); - - +bool safe_strtoull(const char *str, uint64_t *out); +bool safe_strtoll(const char *str, int64_t *out); |