scratch_buffer: Suppress truncation warning on 32-bit
This commit is contained in:
parent
23ebf74307
commit
2902af1631
|
@ -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>
|
2015-04-08 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
||||||
|
|
|
@ -130,8 +130,8 @@ do_test (void)
|
||||||
&& unchanged_array_size (&buf, 0, -1)
|
&& unchanged_array_size (&buf, 0, -1)
|
||||||
&& unchanged_array_size (&buf, 1ULL << 16, 0)
|
&& unchanged_array_size (&buf, 1ULL << 16, 0)
|
||||||
&& unchanged_array_size (&buf, 0, 1ULL << 16)
|
&& unchanged_array_size (&buf, 0, 1ULL << 16)
|
||||||
&& unchanged_array_size (&buf, 1ULL << 32, 0)
|
&& unchanged_array_size (&buf, (size_t) (1ULL << 32), 0)
|
||||||
&& unchanged_array_size (&buf, 0, 1ULL << 32)))
|
&& unchanged_array_size (&buf, 0, (size_t) (1ULL << 32))))
|
||||||
return 1;
|
return 1;
|
||||||
if (!scratch_buffer_grow (&buf))
|
if (!scratch_buffer_grow (&buf))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue