25 Oct
2023
25 Oct
'23
2:11 p.m.
On Wed Oct 25 14:08:23 2023 +0000, Rémi Bernon wrote:
Eh... does it still complain if the flag constants are unsigned, suffixed with u? I think it'd be better than casts here and there. That were my thoughts as well but unfortunately it still does with u-suffixed flags:
../wine/dlls/ntdll/heap.c:1974:29: warning: conversion from 'unsigned int' to 'BYTE' {aka 'unsigned char'} changes value from '4294967167' to '127' [-Woverflow]
1974 | block_set_flags( block, ~BLOCK_FLAG_LFH, BLOCK_FLAG_FREE );
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4145#note_49738