Skip to content

Commit

Permalink
scratch_buffer: Suppress truncation warning on 32-bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Weimer committed Apr 9, 2015
1 parent 23ebf74 commit 2902af1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions malloc/tst-scratch_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 2902af1

Please sign in to comment.