mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bugzilla bug 229297: fixed compiler warning "conversion from 'double' to
'long', possible loss of data". r=jpierre,relyea.
This commit is contained in:
parent
9d027a18fc
commit
43586b3b97
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user