]> git.cworth.org Git - apitrace/blobdiff - common/trace_file_snappy.cpp
Improve internal format of profile results.
[apitrace] / common / trace_file_snappy.cpp
index e4c17cd1755d7d2024e6a6fa4f30861912056436..c0727cd28e86df4e54573e7094e7125cd91053a2 100644 (file)
@@ -241,7 +241,7 @@ size_t SnappyFile::rawRead(void *buffer, size_t length)
 
 int SnappyFile::rawGetc()
 {
-    int c = 0;
+    unsigned char c = 0;
     if (rawRead(&c, 1) != 1)
         return -1;
     return c;