--- a/landmarks/locationlandmarks/dbmanclientlib/src/EPos_HPosLmDatabaseInfo.cpp Thu May 27 13:18:17 2010 +0300
+++ b/landmarks/locationlandmarks/dbmanclientlib/src/EPos_HPosLmDatabaseInfo.cpp Wed Jun 23 18:40:52 2010 +0300
@@ -254,9 +254,16 @@
sizeof(TInt) +
aDatabaseUri.Size();
+#if defined(__GCCE__)
+ // allocate memory
+ return User::AllocL(_FOFF(HPosLmDatabaseInfo,
+ iBuffer) + requiredBufferSize * sizeof (typeof(iBuffer)));
+#else
// allocate memory
return User::AllocL(_FOFF(HPosLmDatabaseInfo,
- iBuffer[requiredBufferSize]));
+ iBuffer[requiredBufferSize]));
+#endif
+
}