diff --git a/drivers/base/kdgdb/gdb_input.c b/drivers/base/kdgdb/gdb_input.c index e729beb37e1..3b898c46829 100644 --- a/drivers/base/kdgdb/gdb_input.c +++ b/drivers/base/kdgdb/gdb_input.c @@ -22,7 +22,7 @@ UINT_PTR gdb_dbg_tid; static inline KDSTATUS -LOOP_IF_SUCCESS(x) +LOOP_IF_SUCCESS(int x) { return (x == KdPacketReceived) ? (KDSTATUS)-1 : x; }