1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

scratch_buffer: Suppress truncation warning on 32-bit

This commit is contained in:
Florian Weimer
2015-04-09 17:12:42 +02:00
parent 23ebf74307
commit 2902af1631
2 changed files with 7 additions and 2 deletions

View File

@ -130,8 +130,8 @@ do_test (void)
&& unchanged_array_size (&buf, 0, -1)
&& unchanged_array_size (&buf, 1ULL << 16, 0)
&& unchanged_array_size (&buf, 0, 1ULL << 16)
&& unchanged_array_size (&buf, 1ULL << 32, 0)
&& unchanged_array_size (&buf, 0, 1ULL << 32)))
&& unchanged_array_size (&buf, (size_t) (1ULL << 32), 0)
&& unchanged_array_size (&buf, 0, (size_t) (1ULL << 32))))
return 1;
if (!scratch_buffer_grow (&buf))
{