• Zebediah Figura's avatar
    libwine: Avoid comparing the result of pointer arithmetic to zero. · d17fe0a7
    Zebediah Figura authored
    gcc warns about this:
    
    ../wine/libs/wine/mmap.c: In function ‘wine_mmap_add_reserved_area_obsolete’:
    ../wine/libs/wine/mmap.c:504:9: error: the comparison will always evaluate as ‘true’ for the pointer operand in ‘(char *)addr + (sizetype)size’ must not be NULL [-Werror=address]
      504 |     if (!((char *)addr + size)) size--;  /* avoid wrap-around */
          |         ^
    d17fe0a7
Name
Last commit
Last update
..
Makefile.in Loading commit data...
c_037.c Loading commit data...
c_10000.c Loading commit data...
c_10001.c Loading commit data...
c_10002.c Loading commit data...
c_10003.c Loading commit data...
c_10004.c Loading commit data...
c_10005.c Loading commit data...
c_10006.c Loading commit data...
c_10007.c Loading commit data...
c_10008.c Loading commit data...
c_10010.c Loading commit data...
c_10017.c Loading commit data...
c_10021.c Loading commit data...
c_10029.c Loading commit data...
c_10079.c Loading commit data...
c_10081.c Loading commit data...
c_10082.c Loading commit data...
c_1026.c Loading commit data...
c_1250.c Loading commit data...
c_1251.c Loading commit data...
c_1252.c Loading commit data...
c_1253.c Loading commit data...
c_1254.c Loading commit data...
c_1255.c Loading commit data...
c_1256.c Loading commit data...
c_1257.c Loading commit data...
c_1258.c Loading commit data...
c_1361.c Loading commit data...
c_20127.c Loading commit data...
c_20866.c Loading commit data...
c_20932.c Loading commit data...
c_21866.c Loading commit data...
c_28591.c Loading commit data...
c_28592.c Loading commit data...
c_28593.c Loading commit data...
c_28594.c Loading commit data...
c_28595.c Loading commit data...
c_28596.c Loading commit data...
c_28597.c Loading commit data...
c_28598.c Loading commit data...
c_28599.c Loading commit data...
c_28603.c Loading commit data...
c_28605.c Loading commit data...
c_437.c Loading commit data...
c_500.c Loading commit data...
c_737.c Loading commit data...
c_775.c Loading commit data...
c_850.c Loading commit data...
c_852.c Loading commit data...
c_855.c Loading commit data...
c_857.c Loading commit data...
c_860.c Loading commit data...
c_861.c Loading commit data...
c_862.c Loading commit data...
c_863.c Loading commit data...
c_864.c Loading commit data...
c_865.c Loading commit data...
c_866.c Loading commit data...
c_869.c Loading commit data...
c_874.c Loading commit data...
c_875.c Loading commit data...
c_932.c Loading commit data...
c_936.c Loading commit data...
c_949.c Loading commit data...
c_950.c Loading commit data...
casemap.c Loading commit data...
collation.c Loading commit data...
compose.c Loading commit data...
config.c Loading commit data...
cpsymbol.c Loading commit data...
cptable.c Loading commit data...
debug.c Loading commit data...
decompose.c Loading commit data...
digitmap.c Loading commit data...
fold.c Loading commit data...
ldt.c Loading commit data...
loader.c Loading commit data...
mbtowc.c Loading commit data...
mmap.c Loading commit data...
port.c Loading commit data...
sortkey.c Loading commit data...
string.c Loading commit data...
unicode.h Loading commit data...
utf8.c Loading commit data...
wctomb.c Loading commit data...
wctype.c Loading commit data...
wine.map Loading commit data...