sk1
This commit is contained in:
parent
1e3a1d91af
commit
c12adb9efd
@ -49,7 +49,7 @@ int compress_1(const char* input_file_name, const char* output_file_name) {
|
|||||||
while (i + count < size && data[i + count] == byte && count < 255) {
|
while (i + count < size && data[i + count] == byte && count < 255) {
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
fprintf(output, "%c%d", byte, (int)count);
|
fprintf(output, "%c%zu", byte, (int)count);
|
||||||
|
|
||||||
i += count;
|
i += count;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user