persistentstorage/dbms/utable/UT_BUF.CPP
branchGCC_SURGE
changeset 26 c6f14f20ccfd
parent 0 08ec8eefde2f
--- a/persistentstorage/dbms/utable/UT_BUF.CPP	Fri Jun 11 16:29:03 2010 +0100
+++ b/persistentstorage/dbms/utable/UT_BUF.CPP	Tue Jun 15 16:30:16 2010 +0100
@@ -180,7 +180,7 @@
 CDbTableCursor::HHeapBuf* CDbTableCursor::HHeapBuf::NewL( CDbTableCursor& aCursor, const TDbBlob& aBlob, TDbColType aType )
 	{
 	__ASSERT( aBlob.Size() <= EMaxBlobBuffer );
-	TAny* mem = User::AllocL(_FOFF(HHeapBuf,iBuf[aBlob.Size()]));	// get the extra size for the entries, leaves on error
+	TAny* mem = User::AllocL(_FOFF_DYNAMIC(HHeapBuf,iBuf[aBlob.Size()]));	// get the extra size for the entries, leaves on error
 	HHeapBuf* self = new( mem ) HHeapBuf(aCursor);	// do an in place new, now we've got the memory
 	self->PushL();
 	MStreamBuf* buf = aCursor.BlobsL().ReadLC( aBlob.Id(), aType );