Bugzilla bug 229297: fixed compiler warning "conversion from 'double' to

'long', possible loss of data".  r=jpierre,relyea.
This commit is contained in:
wchang0222%aol.com 2004-02-11 19:43:29 +00:00
parent 9d027a18fc
commit 43586b3b97

View File

@ -346,7 +346,7 @@ CRMF_CreateCertReqMessagesFromDER(const char *buf, long len)
/* Wanna make sure the arena is big enough to store all of the requests
* coming in. We'll guestimate according to the length of the buffer.
*/
arenaSize = len * 1.5;
arenaSize = len + len/2;
poolp = PORT_NewArena(arenaSize);
if (poolp == NULL) {
return NULL;