diff options
Diffstat (limited to 'lib/libatm/cache_key.c')
-rw-r--r-- | lib/libatm/cache_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libatm/cache_key.c b/lib/libatm/cache_key.c index 680f44a..da08df2 100644 --- a/lib/libatm/cache_key.c +++ b/lib/libatm/cache_key.c @@ -85,7 +85,7 @@ scsp_cache_key(ap, ip, ol, op) * Copy the addresses into a buffer for MD5 computation */ len = sizeof(struct in_addr) + ap->address_length; - if (len > sizeof(buff)) + if (len > (int)sizeof(buff)) len = sizeof(buff); bcopy(ip, buff, sizeof(struct in_addr)); bcopy(ap->address, &buff[sizeof(struct in_addr)], |