persistentstorage/dbms/ustor/US_COMP.CPP
branchGCC_SURGE
changeset 26 c6f14f20ccfd
parent 0 08ec8eefde2f
--- a/persistentstorage/dbms/ustor/US_COMP.CPP	Fri Jun 11 16:29:03 2010 +0100
+++ b/persistentstorage/dbms/ustor/US_COMP.CPP	Tue Jun 15 16:30:16 2010 +0100
@@ -407,7 +407,7 @@
 inline HDeflateHash& HDeflateHash::NewLC(TInt aLinks)
 	{
 	__ASSERT(!(KDeflateMaxDistance&(KDeflateMaxDistance-1)));	// ensure power of two
-	return *new(User::AllocLC(_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
+	return *new(User::AllocLC(_FOFF_DYNAMIC(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
 	}
 
 inline TInt HDeflateHash::Hash(const TUint8* aPtr)