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

@ -1,3 +1,8 @@
2015-04-09 Florian Weimer <fweimer@redhat.com>
* malloc/tst-scratch_buffer.c (do_test): Suppress truncation
warning on 32-bit.
2015-04-08 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.

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))
{