projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df2c19a
)
Fix minor bug in ps2port.c - can't check for -1 with unsigned return type.
author
Kevin O'Connor
<kevin@koconnor.net>
Sun, 18 Jan 2009 01:17:47 +0000
(20:17 -0500)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sun, 18 Jan 2009 01:17:47 +0000
(20:17 -0500)
src/ps2port.c
patch
|
blob
|
history
diff --git
a/src/ps2port.c
b/src/ps2port.c
index 4cd831665ebadcaecfa70654121c1b1a8e0c5fee..043d581fe2e275e217682fa4b40e36f7c8e7adf0 100644
(file)
--- 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.