Skip to content

rpcrt4: Change some buffer wrap checks to satisfy Clang 20.

William Horvath requested to merge whrvt/wine:clang21-werror into master

Soon-to-be-released Clang 20 introduced a -Wtautological-compare warning which these checks trigger. Update them in a similar fashion to the example shown in the Clang doc (see "To avoid pointer addition overflow...").

Edited by William Horvath

Merge request reports

Loading