mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03: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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user