- refraing from using magic numbers like 0xffffffff all over the repository, rather use UINT_MAX/SIZE_MAX ..
- minor re-formatting and refactoring at some old code spots. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@970 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -108,7 +108,7 @@ size_t DefaultIOStream::FileSize() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (0xffffffff == cachedSize) {
|
||||
if (SIZE_MAX == cachedSize) {
|
||||
|
||||
// TODO: Is that really faster if we're already owning a handle to the file?
|
||||
#if defined _WIN32 && !defined __GNUC__
|
||||
|
||||
Reference in New Issue
Block a user