From 29ea7c6c7236c372ae0956651acc1bc25384b368 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Mon, 9 Dec 2013 23:57:17 +0100 Subject: i386/i386at/kd_event.c (kbdsetstat): fix difference in signedness * i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Cast first arguments to (unsigned int *). --- i386/i386at/kd_event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i386/i386at/kd_event.c b/i386/i386at/kd_event.c index db14225..4e7b00a 100644 --- a/i386/i386at/kd_event.c +++ b/i386/i386at/kd_event.c @@ -182,9 +182,9 @@ io_return_t kbdsetstat(dev, flavor, data, count) kd_setleds1 (*data); break; case K_X_KDB_ENTER: - return X_kdb_enter_init(data, count); + return X_kdb_enter_init((unsigned int *)data, count); case K_X_KDB_EXIT: - return X_kdb_exit_init(data, count); + return X_kdb_exit_init((unsigned int *)data, count); default: return (D_INVALID_OPERATION); } -- cgit v1.2.3