Bug 171026 - [GTK] ../../Source/ThirdParty/xdgmime/src/xdgmimecache.c:200:62: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
Summary: [GTK] ../../Source/ThirdParty/xdgmime/src/xdgmimecache.c:200:62: warning: poi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-19 18:24 PDT by Michael Catanzaro
Modified: 2017-04-19 23:27 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.94 KB, patch)
2017-04-19 18:30 PDT, Michael Catanzaro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2017-04-19 18:24:22 PDT
[43/5806] Building C object Source/Thi...Files/xdgmime.dir/src/xdgmimecache.c.o
../../Source/ThirdParty/xdgmime/src/xdgmimecache.c: In function ‘cache_magic_matchlet_compare_to_data’:
../../Source/ThirdParty/xdgmime/src/xdgmimecache.c:200:62: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
    valid_matchlet = memcmp(cache->buffer + data_offset, data + i, data_length) == 0;
Comment 1 Michael Catanzaro 2017-04-19 18:30:34 PDT
Created attachment 307537 [details]
Patch
Comment 2 WebKit Commit Bot 2017-04-19 23:27:02 PDT
Comment on attachment 307537 [details]
Patch

Clearing flags on attachment: 307537

Committed r215553: <http://trac.webkit.org/changeset/215553>
Comment 3 WebKit Commit Bot 2017-04-19 23:27:04 PDT
All reviewed patches have been landed.  Closing bug.