]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-viced-unsign-haddr-hport-20060304
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 5 Mar 2006 05:37:33 +0000 (05:37 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 5 Mar 2006 05:37:33 +0000 (05:37 +0000)
haddr and hport should be unsigned

(cherry picked from commit 3e70b7f3656be0a40fe45fb8ad9815abd2f541fe)

src/viced/host.c

index 96ce9c15b7a6baaa5c782f7b60b20c977961c40b..a678b5ffc683972e2bcf899adf7610b19d4fd544 100644 (file)
@@ -1085,8 +1085,8 @@ h_GetHost_r(struct rx_connection *tcon)
     struct interfaceAddr interf;
     int interfValid = 0;
     struct Identity *identP = NULL;
-    afs_int32 haddr;
-    afs_int16 hport;
+    afs_uint32 haddr;
+    afs_uint16 hport;
     char hoststr[16], hoststr2[16];
     Capabilities caps;
     struct rx_connection *cb_conn = NULL;