--- a/fbs/fontandbitmapserver/sfbs/FBSCLI.CPP Fri Jun 11 14:58:47 2010 +0300
+++ b/fbs/fontandbitmapserver/sfbs/FBSCLI.CPP Tue Jun 22 15:21:29 2010 +0300
@@ -16,7 +16,7 @@
#include <fntstore.h>
#include <bitmap.h>
#include <openfont.h>
-#include "fbsmessage.h"
+#include "FbsMessage.H"
#include "SERVER.H"
#include "BackGroundCompression.h"
#include <shapeinfo.h>
@@ -35,7 +35,7 @@
{
if (aAny && aHeapBase)
{
- return (TInt)aAny - (TInt)aHeapBase;
+ return reinterpret_cast<TInt>(aAny) - aHeapBase;
}
return 0;
}
@@ -47,11 +47,11 @@
@return A pointer relative to the passed heap base.
@see PointerToOffset()
*/
-LOCAL_C TAny* OffsetToPointer(const TInt aOffset, TInt aHeapBase)
+LOCAL_C TAny* OffsetToPointer(TInt aOffset, TInt aHeapBase)
{
if (aOffset && aHeapBase)
{
- return (TAny*)(aOffset + (TInt)aHeapBase);
+ return reinterpret_cast<TAny*>(aOffset + aHeapBase);
}
return NULL;
}