From: Kevin O'Connor Date: Sun, 18 Jan 2009 01:17:47 +0000 (-0500) Subject: Fix minor bug in ps2port.c - can't check for -1 with unsigned return type. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=f5092375885d17fcfab6f94cf6feed8c049c36bc;p=seabios.git Fix minor bug in ps2port.c - can't check for -1 with unsigned return type. --- diff --git a/src/ps2port.c b/src/ps2port.c index 4cd8316..043d581 100644 --- a/src/ps2port.c +++ b/src/ps2port.c @@ -229,7 +229,7 @@ ps2_command(int aux, int command, u8 *param) // Receive parameters (if any). for (i = 0; i < receive; i++) { - u8 data = ps2_recvbyte(aux, 0, 200); + int data = ps2_recvbyte(aux, 0, 200); if (data < 0) { // On a receive timeout, return the item number that the // transfer failed on.