afs: incorrect types for AFSDB IPv4 addresses
[openafs.git] / src / WINNT / afsd / cm_dns.h
index 9c5cf48..42b5496 100644 (file)
    names for the given cell, ending in null */
 int getAFSServer(const char *service, const char *protocol, const char *cellname,
                  unsigned short afsdbPort,
-                 int *cellHostAddrs, char cellHostNames[][MAXHOSTCHARS],
+                 afs_uint32 *cellHostAddrs, char cellHostNames[][MAXHOSTCHARS],
                  unsigned short ports[], unsigned short ipRanks[], int *numServers, int *ttl);
 
 /* Same as above, but using cm_unichar_t.  Note that this functon will
    only be defined for DNSAPI_ENV. */
 int getAFSServerW(const cm_unichar_t *service, const cm_unichar_t *protocol, const cm_unichar_t *cellName,
                   unsigned short afsdbPort,
-                  int *cellHostAddrs,
+                  afs_uint32 *cellHostAddrs,
                   cm_unichar_t cellHostNames[][MAXHOSTCHARS],
                   unsigned short ports[],
                   unsigned short ipRanks[],