sysstatemgmt/systemstatemgr/sus/src/susmiscadaptation.cpp
branchRCL_3
changeset 61 8cb079868133
parent 60 ccb4f6b3db21
--- a/sysstatemgmt/systemstatemgr/sus/src/susmiscadaptation.cpp	Tue Aug 31 16:29:05 2010 +0300
+++ b/sysstatemgmt/systemstatemgr/sus/src/susmiscadaptation.cpp	Wed Sep 01 12:34:26 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -128,7 +128,7 @@
 void CMiscAdaptation::DoGetSimLanguagesArrayL(const RMessage2& aMessage)
 	{
 	const TInt simLanguageCount = aMessage.Int1();
-	CBufFlat* const buf=CBufFlat::NewL(simLanguageCount * sizeof(TInt));
+	CBufFlat* const buf=CBufFlat::NewL(simLanguageCount * sizeof(TInt32));
 	CleanupStack::PushL(buf);
 
 	iMiscAdaptation.GetSimLanguagesL(buf, simLanguageCount);