Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sflist: SYS_SFLIST_FLAGS_MASK must be a long not an int
When splitting the pointer from the flag, ~SYS_SFLIST_FLAGS_MASK remains a 32-bit value because of the lack of an L qualifier. Let's qualify it with UL so the top half of 64-bit pointers is not truncated. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 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