git: 38d2e9314b12 - main - hkbd(4): Fix build on 32bit platforms

Vladimir Kondratyev wulf at FreeBSD.org
Thu Sep 9 22:52:22 UTC 2021


The branch main has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=38d2e9314b127b3466e8ae4120e21fe1ad076dfc

commit 38d2e9314b127b3466e8ae4120e21fe1ad076dfc
Author:     Vladimir Kondratyev <wulf at FreeBSD.org>
AuthorDate: 2021-09-09 22:49:26 +0000
Commit:     Vladimir Kondratyev <wulf at FreeBSD.org>
CommitDate: 2021-09-09 22:51:25 +0000

    hkbd(4): Fix build on 32bit platforms
    
    MFC after:      2 weeks
---
 sys/dev/hid/hkbd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/hid/hkbd.c b/sys/dev/hid/hkbd.c
index bfd8e12df746..ad9b3dde3d37 100644
--- a/sys/dev/hid/hkbd.c
+++ b/sys/dev/hid/hkbd.c
@@ -301,8 +301,8 @@ static void	hkbd_timeout(void *);
 static int	hkbd_set_leds(struct hkbd_softc *, uint8_t);
 static int	hkbd_set_typematic(keyboard_t *, int);
 #ifdef HKBD_EMULATE_ATSCANCODE
-static uint32_t	hkbd_atkeycode(int, const uint64_t *);
-static int	hkbd_key2scan(struct hkbd_softc *, int, const uint64_t *, int);
+static uint32_t	hkbd_atkeycode(int, const bitstr_t *);
+static int	hkbd_key2scan(struct hkbd_softc *, int, const bitstr_t *, int);
 #endif
 static uint32_t	hkbd_read_char(keyboard_t *, int);
 static void	hkbd_clear_state(keyboard_t *);


More information about the dev-commits-src-all mailing list