diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-03-25 04:29:26 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-03-25 04:29:26 +0000 |
commit | ac62ea46fc515e25874659c70e765453cdd4b672 (patch) | |
tree | 50f1eacd42d75e067b1a4554b4ba8a880f09a00c /lib/libatm/cache_key.c | |
parent | f74cd6a71b113eae1cf5d3760c7a6260d3e0de41 (diff) | |
download | FreeBSD-src-ac62ea46fc515e25874659c70e765453cdd4b672.zip FreeBSD-src-ac62ea46fc515e25874659c70e765453cdd4b672.tar.gz |
Fix warnings.
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)], |