# HG changeset patch # User Peter Fordham # Date 1269045094 25200 # Node ID 936cdb3b3ca7b90fbfa6d9f4c3c2b5c00b5f6d8b # Parent 5b5e2139c4b9b975396266c6ea3bcf373d085d0a Bug 1776 - Move variable parts of size calculation out of _FOFF macro. diff -r 5b5e2139c4b9 -r 936cdb3b3ca7 landmarks/locationlandmarks/dbmanclientlib/src/EPos_HPosLmDatabaseInfo.cpp --- a/landmarks/locationlandmarks/dbmanclientlib/src/EPos_HPosLmDatabaseInfo.cpp Fri Mar 19 17:30:40 2010 -0700 +++ b/landmarks/locationlandmarks/dbmanclientlib/src/EPos_HPosLmDatabaseInfo.cpp Fri Mar 19 17:31:34 2010 -0700 @@ -256,8 +256,7 @@ // allocate memory return User::AllocL(_FOFF(HPosLmDatabaseInfo, - iBuffer[requiredBufferSize])); - + iBuffer) + requiredBufferSize * sizeof (typeof(iBuffer))); }