Le 1 juin 2024 00:06:49 GMT+03:00, averne <[email protected]> a écrit :
>Le 30/05/2024 à 22:38, Rémi Denis-Courmont a écrit :
>> Le torstaina 30. toukokuuta 2024, 22.43.03 EEST averne a écrit :
>>> This is useful eg. for memory-mapped buffers that need page-aligned memory,
>>> when dealing with hardware devices
>>>
>>> Signed-off-by: averne <[email protected]>
>>> ---

>> Invalid cast.
>> 
>
>Neither gcc or clang emit a warning here, even on -Weverything.
>What would be your idea of a valid cast then? First cast to intptr_t, 
>then void** ?

They don't warn because the explicit cast conventionally mutes the warning. 
Remove it and you'll get the warning.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to