mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-15 07:01:42 +03:00
Put static keyword first.
Fix a warning by -Wold-style-declaration.
This commit is contained in:
parent
d60f3bac12
commit
eaa58a5026
1 changed files with 1 additions and 1 deletions
|
|
@ -1730,7 +1730,7 @@ compute_size_with_overflow(bool may_overflow, dynamic_opts_t *dopts,
|
|||
}
|
||||
|
||||
/* A size_t with its high-half bits all set to 1. */
|
||||
const static size_t high_bits = SIZE_T_MAX << (sizeof(size_t) * 8 / 2);
|
||||
static const size_t high_bits = SIZE_T_MAX << (sizeof(size_t) * 8 / 2);
|
||||
|
||||
*size = dopts->item_size * dopts->num_items;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue