]> granicus.if.org Git - gc/commitdiff
Fix arg type of continue_reclaim prototype after the definition update
authorIvan Maidanski <ivmai@mail.ru>
Thu, 8 Feb 2018 08:51:00 +0000 (11:51 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 8 Feb 2018 09:46:32 +0000 (12:46 +0300)
(fix of commit e794f1e)

* include/private/gc_priv.h (GC_continue_reclaim): Change type of sz
argument from size_t to word (matching the function definition).

include/private/gc_priv.h

index 7364dafe7e47e1624e554b1770a5e48c0e457d4b..2f6d70893ab5efbdb78c4ac179b102a48a79e6f8 100644 (file)
@@ -1933,7 +1933,7 @@ GC_INNER void GC_start_reclaim(GC_bool abort_if_found);
                                 /* TRUE) report them.                   */
                                 /* Sweeping of small object pages is    */
                                 /* largely deferred.                    */
-GC_INNER void GC_continue_reclaim(size_t sz, int kind);
+GC_INNER void GC_continue_reclaim(word sz, int kind);
                                 /* Sweep pages of the given size and    */
                                 /* kind, as long as possible, and       */
                                 /* as long as the corr. free list is    */