X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Ftrace_file_snappy.cpp;h=c0727cd28e86df4e54573e7094e7125cd91053a2;hb=a98cee46f08418666f7e13701fd6bd54a3006767;hp=e4c17cd1755d7d2024e6a6fa4f30861912056436;hpb=76d6c051cd4ff8a631c378d09a670d93051025b4;p=apitrace diff --git a/common/trace_file_snappy.cpp b/common/trace_file_snappy.cpp index e4c17cd..c0727cd 100644 --- a/common/trace_file_snappy.cpp +++ b/common/trace_file_snappy.cpp @@ -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;