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:
dp%netscape.com 2002-03-11 21:09:12 +00:00
parent 8bf05e3815
commit 36d368d794

View File

@ -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