summaryrefslogtreecommitdiffstats
path: root/support/include/tcpwrapper.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-01-17 16:50:29 -0500
committerSteve Dickson <steved@redhat.com>2010-01-17 16:50:29 -0500
commit90c944c9cc1fde845caa29b98c2864eb32660403 (patch)
tree69801abe26fe4fe829a6e236bd0e4c9ca3f203c1 /support/include/tcpwrapper.h
parente94001c0bb9ee7847a2ef7a3b436acd74acb9fd6 (diff)
downloadnfs-utils-90c944c9cc1fde845caa29b98c2864eb32660403.tar.gz
nfs-utils-90c944c9cc1fde845caa29b98c2864eb32660403.tar.xz
nfs-utils-90c944c9cc1fde845caa29b98c2864eb32660403.zip
tcpwrapper: Fix signage problems in the tcp_wrappers hash function
Eliminate the following compiler warnings: tcpwrapper.c:78: warning: no previous prototype for strtoint tcpwrapper.c: In function strtoint tcpwrapper.c:81: warning: conversion to int size_t may change the sign of the result tcpwrapper.c:85: warning: conversion to unsigned int from int may change the sign of the result tcpwrapper.c: In function hashint: tcpwrapper.c:91: warning: conversion to int from unsigned int may change the sign of the result The hash value is probably computed consistently even with unexpected sign inversions. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/tcpwrapper.h')
0 files changed, 0 insertions, 0 deletions