[kbd] [PATCH] libkeymap: Avoid pointer arithmetic on `void *`

Alexey Gladkov gladkov.alexey at gmail.com
Thu Jun 27 12:17:14 MSK 2019


On Wed, Jun 26, 2019 at 08:07:19PM -0700, Michael Forney wrote:
> Another option with less casting is to change the type of the `array`
> member of `struct lk_array` from `void *` to `char *`. Let me know
> if you would prefer this approach:
> 
> https://github.com/michaelforney/kbd/commit/5554deb1df4263d5d6b782a484dbb78b1b3ad569

Applied.

-- 
Rgrds, legion



More information about the kbd mailing list