summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2017-06-07 04:16:02 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2017-06-07 19:52:07 -0700
commite1a3e41bf33bf6a366760ede17c2e3bd2b106116 (patch)
treea2d6b34b5603794a24c0e6acd998e52d6313aeb0 /Source/Core/Common/FileUtil.cpp
parentbe7c6a081918ac2240f6a2e4e51ca6e3daa0f032 (diff)
fix various instances of -1 being assigned to unsigned types
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
-rw-r--r--Source/Core/Common/FileUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp
index ebab9e9c48..2ae063673f 100644
--- a/Source/Core/Common/FileUtil.cpp
+++ b/Source/Core/Common/FileUtil.cpp
@@ -986,7 +986,7 @@ u64 IOFile::Tell() const
if (IsOpen())
return ftello(m_file);
else
- return -1;
+ return UINT64_MAX;
}
bool IOFile::Flush()