screenshooting: Avoid void pointer arithmetic
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 15 Jul 2015 22:09:15 +0000 (18:09 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 15 Jul 2015 22:09:15 +0000 (18:09 -0400)
commit41cb2fa161f4d5dc154717dd8b8c2b325329777c
treeef6cbe2b10a8a67943440a23b4cbd3a247102cff
parent7859787f7387f081b689366df2abbd150a13c0c2
screenshooting: Avoid void pointer arithmetic

Summary:
If we use unsigned char pointers instead of void pointers we actually
conform to the C standard.

This patch removes a reliance on a gcc extension and, as an added bonus,
also quiets a warning in the default build.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2820
src/modules/shot/e_mod_main.c
src/modules/wl_drm/e_mod_main.c