]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
viced-host-type-consistency-20060305
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 5 Mar 2006 22:31:11 +0000 (22:31 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 5 Mar 2006 22:31:11 +0000 (22:31 +0000)
make sure all the types for host and port are consistent

src/viced/host.h

index d1a40ecb3b0aeac69e4c51b678d991d57f5a3b03..3c6d6200ebfeb3c054ae8ce5774992e7b48f9f13 100644 (file)
@@ -66,10 +66,10 @@ struct host {
     /* holds on this host; 1 bit per lwp.
      * A hold prevents this structure and
      * inferior structures from disappearing */
-    unsigned int host;         /* IP address of host interface that is
+    afs_uint32 host;           /* IP address of host interface that is
                                 * currently being used, in network
                                 * byte order */
-    unsigned short port;       /* port address of host */
+    afs_uint16 port;           /* port address of host */
     char Console;              /* XXXX This host is a console */
     unsigned short hostFlags;          /*  bit map */
 #if FS_STATS_DETAILED