diff options
author | glx <glx@openttd.org> | 2008-05-08 13:20:54 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-05-08 13:20:54 +0000 |
commit | e48a351f8e006b19d9e2c7bf9ef672a1e141d85f (patch) | |
tree | 8d4f7ac36d25e220f571af8ff584b7fa76c13cc1 /src/fileio.h | |
parent | f7b6a02b1e9850c4cdb281148a1cee78c2a3f2a8 (diff) | |
download | openttd-e48a351f8e006b19d9e2c7bf9ef672a1e141d85f.tar.xz |
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
Diffstat (limited to 'src/fileio.h')
-rw-r--r-- | src/fileio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fileio.h b/src/fileio.h index 881c983f3..ed2a8b506 100644 --- a/src/fileio.h +++ b/src/fileio.h @@ -18,7 +18,7 @@ uint16 FioReadWord(); uint32 FioReadDword(); void FioCloseAll(); void FioOpenFile(int slot, const char *filename); -void FioReadBlock(void *ptr, uint size); +void FioReadBlock(void *ptr, size_t size); void FioSkipBytes(int n); void FioCreateDirectory(const char *filename); @@ -70,8 +70,8 @@ struct TarListEntry { }; struct TarFileListEntry { TarListEntry *tar; - int size; - int position; + size_t size; + size_t position; }; typedef std::map<std::string, TarListEntry *> TarList; typedef std::map<std::string, TarFileListEntry> TarFileList; |