[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix some compiler warnings
From: |
Svante Signell |
Subject: |
Re: [PATCH] Fix some compiler warnings |
Date: |
Wed, 18 Jan 2023 11:59:40 +0100 |
User-agent: |
Evolution 3.42.0-2 |
On Wed, 2023-01-18 at 02:02 +0100, Samuel Thibault wrote:
> Hello,
>
>
> But conversely when we'll build it in 64bit, vm_page_size (actually
> uintptr_t) will be an unsigned long.
>
> This needs to be fixed the *proper* way: either use the PRIuPTR
> macro, or cast the value into unsigned long.
Now cast to an unsigned long, new patch attached.
Thanks!
fix-warnings.diff
Description: Text Data