mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 23:03:00 +00:00
Neil Roberts
dd7b1326eb
cogl: Avoid pointer arithmetic on void* pointers
Some code was doing pointer arithmetic on the return value from cogl_buffer_map which is void* pointer. This is a GCC extension so we should try to avoid it. This patch adds casts to guint8* where appropriate. Based on a patch by Fan, Chun-wei. http://bugzilla.clutter-project.org/show_bug.cgi?id=2561
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%