Index: src/mksnapshot.cc |
=================================================================== |
--- src/mksnapshot.cc (revision 10237) |
+++ src/mksnapshot.cc (working copy) |
@@ -109,7 +109,7 @@ |
if (j != 0) { |
fprintf(fp, ","); |
} |
- fprintf(fp, "%d", at(j)); |
+ fprintf(fp, "%u", static_cast<unsigned char>(at(j))); |
} |
} |
char at(int i) { return data_[i]; } |