making linux and mac compilers happy.
git-svn-id: svn://10.0.0.236/trunk@116341 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8bf05e3815
commit
36d368d794
@ -982,7 +982,7 @@ PRInt32 nsZipArchive::BuildFileList()
|
||||
#ifndef STANDALONE
|
||||
// Arena allocate the nsZipItem
|
||||
void *mem;
|
||||
PL_ARENA_ALLOCATE(mem, &mArena, sizeof nsZipItem);
|
||||
PL_ARENA_ALLOCATE(mem, &mArena, sizeof(nsZipItem));
|
||||
// Use placement new to arena allcoate the nsZipItem
|
||||
nsZipItem* item = mem ? new (mem) nsZipItem() : nsnull;
|
||||
#else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user