mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Tests: Silence a warning from -Wsign-conversion.
This commit is contained in:
parent
2402f7873d
commit
c2d2ab6a9d
1 changed files with 4 additions and 4 deletions
|
@ -94,10 +94,10 @@ write_random(FILE *file)
|
|||
for (size_t i = 0; i < 123456; ++i) {
|
||||
n = 101771 * n + 71777;
|
||||
|
||||
putc(n & 0xFF, file);
|
||||
putc((n >> 8) & 0xFF, file);
|
||||
putc((n >> 16) & 0xFF, file);
|
||||
putc(n >> 24, file);
|
||||
putc((uint8_t)(n), file);
|
||||
putc((uint8_t)(n >> 8), file);
|
||||
putc((uint8_t)(n >> 16), file);
|
||||
putc((uint8_t)(n >> 24), file);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue