Fix address for memcpy()

If we ever change to a dynamic array, this would've been buggy.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-06-27 09:19:03 +10:00
parent 50b47aa8f9
commit cf5ba7056f

View file

@ -1240,7 +1240,7 @@ tablet_notify_axis(struct libinput_device *device,
.axes = axes,
};
memcpy(&axis_event->changed_axes,
memcpy(axis_event->changed_axes,
changed_axes,
sizeof(axis_event->changed_axes));