Index: src/mksnapshot.cc |
=================================================================== |
--- src/mksnapshot.cc (revision 1073) |
+++ src/mksnapshot.cc (working copy) |
@@ -128,9 +128,9 @@ |
fprintf(f, "namespace v8 {\nnamespace internal {\n\n"); |
fprintf(f, "const char Snapshot::data_[] = {"); |
int written = 0; |
- written += fprintf(f, "%i", str[0]); |
+ written += fprintf(f, "0x%x", str[0]); |
for (int i = 1; i < size; ++i) { |
- written += fprintf(f, ",%i", str[i]); |
+ written += fprintf(f, ",0x%x", str[i]); |
// The following is needed to keep the line length low on Visual C++: |
if (i % 512 == 0) fprintf(f, "\n"); |
} |