server: Do not promote lparam to signed int (Coverity).

This commit is contained in:
Marcus Meissner 2011-06-28 09:37:04 +02:00 committed by Alexandre Julliard
parent 6b90f27d8f
commit 67320c448b

View file

@ -1617,7 +1617,7 @@ static int queue_keyboard_message( struct desktop *desktop, user_handle_t win, c
msg->type = MSG_HARDWARE;
msg->win = get_user_full_handle( win );
msg->lparam = (input->kbd.scan << 16) | 1; /* repeat count */
msg->lparam = (input->kbd.scan << 16) | 1u; /* repeat count */
msg->time = input->kbd.time;
msg->result = NULL;
msg->data = msg_data;