Index: tol/OIS/tol_oiscreator.h
===================================================================
--- tol/OIS/tol_oiscreator.h	(revision fc134accb31c98cf42a781c1a75e9a053f02b57a)
+++ tol/OIS/tol_oiscreator.h	(revision 2f7a97ddb1d7b0a18e2d5a2d15be6aafeb066a2d)
@@ -68,9 +68,11 @@
   bool Write(const unsigned BINT64&  x, BStream* stream);
   // REVIEW: for compatibility size_t will be written/read as 4 bytes
-  bool Write(const          size_t&  x, BStream* stream)
+#if defined(_LP64) || defined(_WIN64)
+   bool Write(const          size_t&  x, BStream* stream)
   {
     unsigned int _x = (unsigned int)x;
     return this->Write( _x, stream );
   }
+#endif
   bool Write(const          float&   x, BStream* stream);
   bool Write(const          double&  x, BStream* stream);
Index: tol/OIS/tol_oisloader.h
===================================================================
--- tol/OIS/tol_oisloader.h	(revision fc134accb31c98cf42a781c1a75e9a053f02b57a)
+++ tol/OIS/tol_oisloader.h	(revision 2f7a97ddb1d7b0a18e2d5a2d15be6aafeb066a2d)
@@ -103,4 +103,5 @@
   bool Read(unsigned BINT64&  x, BStream* stream);
   // REVIEW: for compatibility size_t will be written/read as 4 bytes
+#if defined(_LP64) || defined(_WIN64)
   bool Read(size_t &     x, BStream* stream)
   {
@@ -113,5 +114,6 @@
     return ok;
   }
-  bool Read(         float&   x, BStream* stream);
+#endif
+   bool Read(         float&   x, BStream* stream);
   bool Read(         double&  x, BStream* stream);
   bool Read(BText& v, BStream* stream);
