diff --git a/src/internal.c b/src/internal.c
index 34a5eed4d..1ed9448d2 100644
--- a/src/internal.c
+++ b/src/internal.c
@@ -9378,7 +9378,7 @@ int CheckForAltNames(DecodedCert* dCert, const char* domain, int* checkCN)
XMEMSET(tmp, 0, sizeof(tmp));
XSNPRINTF(tmp, sizeof(tmp), (altName->len <= 4) ? "%u" : "%02X",
altName->name[i]);
- idx += XSTRLEN(tmp);
+ idx += (word32)XSTRLEN(tmp);
XSTRNCAT(name, tmp, (altName->len <= 4) ? 3 : 2);
if ((idx < WOLFSSL_MAX_IPSTR ) && ((i + 1) < altName->len)) {
name[idx++] = (altName->len <= 4) ? '.' : ':';
diff --git a/src/ssl.c b/src/ssl.c
index 897d2f415..9ac0fee7e 100644
--- a/src/ssl.c
+++ b/src/ssl.c
@@ -41340,12 +41340,12 @@ int wolfSSL_BIO_new_bio_pair(WOLFSSL_BIO **bio1_p, size_t writebuf1,
}
}
if (ret && writebuf1) {
- if (!(ret = wolfSSL_BIO_set_write_buf_size(bio1, writebuf1))) {
+ if (!(ret = wolfSSL_BIO_set_write_buf_size(bio1, (long)writebuf1))) {
WOLFSSL_MSG("wolfSSL_BIO_set_write_buf() failure");
}
}
if (ret && writebuf2) {
- if (!(ret = wolfSSL_BIO_set_write_buf_size(bio2, writebuf2))) {
+ if (!(ret = wolfSSL_BIO_set_write_buf_size(bio2, (long)writebuf2))) {
WOLFSSL_MSG("wolfSSL_BIO_set_write_buf() failure");
}
}
diff --git a/wolfssl-ntru.vcproj b/wolfssl-ntru.vcproj
index 18964c739..e6c6d66b0 100755
--- a/wolfssl-ntru.vcproj
+++ b/wolfssl-ntru.vcproj
@@ -290,6 +290,10 @@
RelativePath=".\wolfcrypt\src\random.c"
>
+
+
diff --git a/wolfssl.vcproj b/wolfssl.vcproj
index 5505e4912..ebf0007da 100755
--- a/wolfssl.vcproj
+++ b/wolfssl.vcproj
@@ -319,6 +319,10 @@
RelativePath=".\wolfcrypt\src\random.c"
>
+
+
diff --git a/wolfssl.vcxproj b/wolfssl.vcxproj
index 834c307e0..d890f8cc9 100644
--- a/wolfssl.vcxproj
+++ b/wolfssl.vcxproj
@@ -321,6 +321,7 @@
+
@@ -369,4 +370,4 @@
-
\ No newline at end of file
+