Le 1 juin 2024 00:06:49 GMT+03:00, averne <averne...@gmail.com> 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 <averne...@gmail.com> >>> ---
>> 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 ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".