I have rather changed it to vm_size_t, which makes much more sense here.
Etienne Brateau, le mer. 19 janv. 2022 20:29:39 +0100, a ecrit:
> ---
> libpager/lock-object.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libpager/lock-object.c b/libpager/lock-object.c
> index c022d0c4..bb222ea6 100644
> --- a/libpager/lock-object.c
> +++ b/libpager/lock-object.c
> @@ -30,7 +30,7 @@ _pager_lock_object (struct pager *p,
> vm_prot_t lock_value,
> int sync)
> {
> - int i;
> + vm_offset_t i;
> struct lock_request *lr = 0;
>
> pthread_mutex_lock (&p->interlock);
> --
> 2.34.1
>
> - [PATCH 4/7] libdiskfs: improve asserts and remove a sign c... Etienne Brateau
- Re: [PATCH 4/7] libdiskfs: improve asserts and remove... Samuel Thibault
- [PATCH 3/7] libstore: fix type of a counter Etienne Brateau
- Re: [PATCH 3/7] libstore: fix type of a counter Samuel Thibault
- [PATCH 7/7] proc: Fix variable type Etienne Brateau
- Re: [PATCH 7/7] proc: Fix variable type Samuel Thibault
- [PATCH 6/7] libnetfs: fix type of variable Etienne Brateau
- Re: [PATCH 6/7] libnetfs: fix type of variable Samuel Thibault
- [PATCH 5/7] libps: fix some signed vs unsigned comparision Etienne Brateau
- Re: [PATCH 5/7] libps: fix some signed vs unsigned co... Samuel Thibault
- Re: [PATCH 1/7] libpager: fix a comparision between signed... Samuel Thibault
