• 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
..
adsiid Loading commit data...
dmoguids Loading commit data...
dxerr8 Loading commit data...
dxerr9 Loading commit data...
dxguid Loading commit data...
faudio Loading commit data...
gsm Loading commit data...
jpeg Loading commit data...
jxr Loading commit data...
lcms2 Loading commit data...
mfuuid Loading commit data...
mpg123 Loading commit data...
png Loading commit data...
strmbase Loading commit data...
strmiids Loading commit data...
tiff Loading commit data...
uuid Loading commit data...
vkd3d Loading commit data...
wbemuuid Loading commit data...
wine Loading commit data...
wmcodecdspuuid Loading commit data...
xml2 Loading commit data...
xslt Loading commit data...
zlib Loading commit data...