mirror of https://git.tukaani.org/xz.git
Tests: Silence a warning from -Wsign-conversion.
This commit is contained in:
parent
c8cace3d6e
commit
cb708e8fa3
|
@ -94,10 +94,10 @@ write_random(FILE *file)
|
||||||
for (size_t i = 0; i < 123456; ++i) {
|
for (size_t i = 0; i < 123456; ++i) {
|
||||||
n = 101771 * n + 71777;
|
n = 101771 * n + 71777;
|
||||||
|
|
||||||
putc(n & 0xFF, file);
|
putc((uint8_t)(n), file);
|
||||||
putc((n >> 8) & 0xFF, file);
|
putc((uint8_t)(n >> 8), file);
|
||||||
putc((n >> 16) & 0xFF, file);
|
putc((uint8_t)(n >> 16), file);
|
||||||
putc(n >> 24, file);
|
putc((uint8_t)(n >> 24), file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue