Index: nss/lib/freebl/rsa.c |
diff --git a/nss/lib/freebl/rsa.c b/nss/lib/freebl/rsa.c |
index 780c3c77d2de721c1f1a6e1e909d3223370325b5..f1824eff9ad51e19817493ea6fab04c7319cb8a5 100644 |
--- a/nss/lib/freebl/rsa.c |
+++ b/nss/lib/freebl/rsa.c |
@@ -248,7 +248,7 @@ RSA_NewKey(int keySizeInBits, SECItem *publicExponent) |
PLArenaPool *arena = NULL; |
/* Require key size to be a multiple of 16 bits. */ |
if (!publicExponent || keySizeInBits % 16 != 0 || |
- BAD_RSA_KEY_SIZE(keySizeInBits/8, publicExponent->len)) { |
+ BAD_RSA_KEY_SIZE((unsigned int)keySizeInBits/8, publicExponent->len)) { |
PORT_SetError(SEC_ERROR_INVALID_ARGS); |
return NULL; |
} |