diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-11-24 09:16:43 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-11-24 09:19:57 +0100 |
commit | 46d69cb9157abdf8655822963a6ad4c4161577a1 (patch) | |
tree | 3fe9da0c7197e1f286acc68c085a71c292bc6b6b /src/common/compat.c | |
parent | f067067ee66e104b2d1e97fb881bf6d2277ea589 (diff) | |
download | tor-46d69cb9157abdf8655822963a6ad4c4161577a1.tar.gz tor-46d69cb9157abdf8655822963a6ad4c4161577a1.zip |
Fix compile warning in tor_inet_pton() (on 64bit)
This slipped through into 0.2.3.8-alpha unfortunately.
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 20c45af00b..9a2c9d764b 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -1733,7 +1733,7 @@ tor_inet_pton(int af, const char *src, void *dst) return 0; if (TOR_ISXDIGIT(*src)) { char *next; - int len; + ssize_t len; long r = strtol(src, &next, 16); tor_assert(next != NULL); tor_assert(next != src); |