]> git.cworth.org Git - apitrace/blobdiff - common/trace_file_snappy.cpp
Resolve some MS compiler warnings (in picky mode)
[apitrace] / common / trace_file_snappy.cpp
index f47c89b046c37fe282478a9ca6a014bb108df553..68673c6324ef5e28a9f0b79cf0f4e54f53bdcb63 100644 (file)
@@ -397,7 +397,7 @@ bool SnappyFile::rawSkip(size_t length)
 
 int SnappyFile::rawPercentRead()
 {
-    return 100 * (double(m_stream.tellg()) / double(m_endPos));
+    return int(100 * (double(m_stream.tellg()) / double(m_endPos)));
 }