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 d1a40ec..3c6d620 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