-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use size_t instead of int where applicable in allchblk.c
(refactoring) * allchblk.c (GC_enough_large_bytes_left, GC_hblk_fl_from_blocks): Change return type from int to size_t. * allchblk.c (GC_enough_large_bytes_left): Change type of n local variable from int to size_t. * allchblk.c (GC_hblk_fl_from_blocks): Remove casts to int. * allchblk.c (GC_dump_regions): Cast result of GC_hblk_fl_from_blocks() to int. * allchblk.c (GC_remove_from_fl_at, GC_get_first_part, GC_split_block, GC_allochblk_nth): Change type of index argument from int to size_t. * allchblk.c (GC_add_to_fl): Change type of index local variable from int to size_t. * allchblk.c (GC_unmap_old, GC_merge_unmapped): Change type of i local variable from int to size_t. * allchblk.c (GC_allochblk): Change type of start_list, split_limit local variables from int to size_t. * allchblk.c (drop_hblk_in_chunks): Change type of n argument from int to size_t.
- Loading branch information
Showing
1 changed file
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters