--- storage/connect/filamap.cpp.orig    2014-09-25 00:29:47.000000000 +0200
+++ storage/connect/filamap.cpp 2014-09-29 18:54:31.000000000 +0200
@@ -290,8 +290,8 @@
 /***********************************************************************/
 int MAPFAM::InitDelete(PGLOBAL g, int fpos, int spos)
   {
-  Fpos = Memory + fpos;
-  Mempos = Memory + spos;
+  Fpos = Memory + (uintptr_t)fpos;
+  Mempos = Memory + (uintptr_t)spos;
   return RC_OK;
   } // end of InitDelete
 
@@ -685,7 +685,7 @@
 /***********************************************************************/
 int MPXFAM::InitDelete(PGLOBAL g, int fpos, int spos)
   {
-  Fpos = Memory + Headlen + fpos * Lrecl;
+  Fpos = Memory + Headlen + (uintptr_t)fpos * Lrecl;
   Mempos = Fpos + Lrecl;
   return RC_OK;
   } // end of InitDelete
