fixes #920 Few minor warnings on Windows
diff --git a/src/utils/chunk.c b/src/utils/chunk.c
index 8d0e775..15612bd 100644
--- a/src/utils/chunk.c
+++ b/src/utils/chunk.c
@@ -140,7 +140,7 @@
                 the tag and prefix. */
             empty = (uint8_t *)new_ptr - (uint8_t *)self - hdr_size;
             nn_putl ((uint8_t*) (((uint32_t*) new_ptr) - 1), NN_CHUNK_TAG);
-            nn_putl ((uint8_t*) (((uint32_t*) new_ptr) - 2), empty);
+            nn_putl ((uint8_t*) (((uint32_t*) new_ptr) - 2), (uint32_t) empty);
             *chunk = p;
             return (0);
         }
diff --git a/src/utils/strcasestr.c b/src/utils/strcasestr.c
index fe7fe76..d49b61c 100644
--- a/src/utils/strcasestr.c
+++ b/src/utils/strcasestr.c
@@ -28,7 +28,7 @@
 const char *
 nn_strcasestr(const char *str, const char *key)
 {
-	int len = strlen(key);
+	size_t len = strlen(key);
 
 	while (*str != '\0') {
 		if (nn_strncasecmp(str, key, len) == 0) {
diff --git a/src/utils/strncasecmp.c b/src/utils/strncasecmp.c
index fe88f58..7d0cd72 100644
--- a/src/utils/strncasecmp.c
+++ b/src/utils/strncasecmp.c
@@ -1,5 +1,5 @@
 /*
-    Copyright 2016 Garrett D'Amore <garrett@damore.org>
+    Copyright 2017 Garrett D'Amore <garrett@damore.org>
 
     Permission is hereby granted, free of charge, to any person obtaining a copy
     of this software and associated documentation files (the "Software"),
@@ -24,10 +24,10 @@
 #include "strncasecmp.h"
 
 int
-nn_strncasecmp(const char *a, const char *b, int len)
+nn_strncasecmp(const char *a, const char *b, size_t len)
 {
 	int rv;
-	int count;
+	size_t count;
 	for (count = 0; count < len; count++) {
 		if ((*a == 0) && (*b == 0)) {
 			return (0);
diff --git a/src/utils/strncasecmp.h b/src/utils/strncasecmp.h
index 390b4ed..6fc9273 100644
--- a/src/utils/strncasecmp.h
+++ b/src/utils/strncasecmp.h
@@ -1,5 +1,5 @@
 /*
-    Copyright 2016 Garrett D'Amore <garrett@damore.org>
+    Copyright 2017 Garrett D'Amore <garrett@damore.org>
 
     Permission is hereby granted, free of charge, to any person obtaining a copy
     of this software and associated documentation files (the "Software"),
@@ -23,6 +23,6 @@
 #ifndef NN_STRNCASECMP_INCLUDED
 #define NN_STRNCASECMP_INCLUDED
 
-extern int nn_strncasecmp(const char *, const char *, int);
+extern int nn_strncasecmp(const char *, const char *, size_t);
 
 #endif /* NN_STRNCASECMP_INCLUDED */