Fixed more size_t warnings

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@559 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-03-20 09:32:02 +00:00
parent 118202c476
commit 704fffc423
3 changed files with 11 additions and 6 deletions

View File

@@ -365,15 +365,15 @@ check_stl_type(const std::string& _filename) const
// read number of triangles
char dummy[100];
fread(dummy, 1, 80, in);
unsigned int nT = read_int(in, swapFlag);
size_t nT = read_int(in, swapFlag);
// compute file size from nT
unsigned int binary_size = 84 + nT*50;
size_t binary_size = 84 + nT*50;
// get actual file size
unsigned int file_size(0);
size_t file_size(0);
rewind(in);
while (!feof(in))
file_size += fread(dummy, 1, 100, in);