Index: core/include/fxcrt/fx_stream.h |
diff --git a/core/include/fxcrt/fx_stream.h b/core/include/fxcrt/fx_stream.h |
index ef730bb96708978408f40725118d1a64e4ea1aa7..8e298f772754cc6626ed0c81a0dfc76e4ccab0f5 100644 |
--- a/core/include/fxcrt/fx_stream.h |
+++ b/core/include/fxcrt/fx_stream.h |
@@ -30,6 +30,7 @@ FX_DEFINEHANDLE(FX_HFILE) |
#endif |
#define FX_FILESIZE off_t |
#endif |
+typedef base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE; |
#define FX_GETBYTEOFFSET32(a) 0 |
#define FX_GETBYTEOFFSET40(a) 0 |
#define FX_GETBYTEOFFSET48(a) 0 |