Make srvx compile on cygwin again.
[srvx.git] / src / tools.c
index 0da95dd62006c2273139afd5d1fdc6251c9e3608..d4dee86d65e221cd39357f1121752dce95e845ad 100644 (file)
@@ -313,7 +313,7 @@ irc_pton(irc_in_addr_t *addr, unsigned char *bits, const char *input)
                 addr->in6[cpos + jj] = 0;
         }
     } else if (dot) {
-        unsigned int ip4;
+        uint32_t ip4;
         pos = irc_pton_ip4(input, bits, &ip4);
         if (pos) {
             addr->in6[5] = htons(65535);