diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-09 23:57:17 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-10 00:30:34 +0100 |
commit | 29ea7c6c7236c372ae0956651acc1bc25384b368 (patch) | |
tree | 4f5738a0e4453bb0c0f99f3ac3e8258be1f35944 /i386/i386at | |
parent | fe7b4a8bbfd41c90f16ab4b1bcd82babb811c7a7 (diff) |
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 *).
Diffstat (limited to 'i386/i386at')
-rw-r--r-- | i386/i386at/kd_event.c | 4 |
1 files 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); } |