Re: [kbd] [PATCH] libkeymap: Avoid pointer arithmetic on `void *`
Alexey Gladkov <[email protected]> Thu, 27 Jun 2019 11:17:14 +0200
| Newsgroups | dev.linux.lists.kbd |
|---|---|
| Message-ID | <[email protected]> |
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