mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
malloc: cleanup casts in tst-calloc
Followup to c3d1dac96b
. As pointed out by
Maciej W. Rozycki, the casts are obviously useless now.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
parent
8ab34497de
commit
fc8f253d80
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ null_test (void)
|
|||
calloc (0, 0);
|
||||
calloc (0, max_size);
|
||||
calloc (max_size, 0);
|
||||
calloc (0, ~((size_t) zero_size));
|
||||
calloc (~((size_t) zero_size), 0);
|
||||
calloc (0, ~zero_size);
|
||||
calloc (~zero_size, 0);
|
||||
DIAG_POP_NEEDS_COMMENT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue