--- ./nsock/src/nsock_pool.c.orig	2018-01-24 03:31:49 -0600
+++ ./nsock/src/nsock_pool.c	2018-01-24 03:33:01 -0600
@@ -294,7 +294,7 @@
 }
 
 void nsock_library_initialize(void) {
-  int res;
+  long long unsigned int res;
 
   /* We want to make darn sure the evil SIGPIPE is ignored */
 #ifndef WIN32
--- nsock/src/netutils.c.orig	2018-01-24 03:42:32 -0600
+++ nsock/src/netutils.c	2018-01-24 03:43:10 -0600
@@ -97,7 +97,7 @@
 
 #ifndef WIN32
   struct rlimit r;
-  static int maxfds = -1;
+  static long long unsigned int maxfds = -1;
 
   if (maxfds > 0)
     return maxfds;
