Changed ring buffers' readi/writei from int to unsigned
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
static struct {
|
||||
event_t buffer[BUFFER_SIZE];
|
||||
int writei, readi;
|
||||
unsigned writei, readi;
|
||||
} events;
|
||||
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ typedef struct { unsigned char type, code, isrepeat; } KeyEvent;
|
||||
|
||||
volatile struct {
|
||||
KeyEvent data[32];
|
||||
int readi, writei;
|
||||
unsigned readi, writei;
|
||||
} keyboard_events;
|
||||
|
||||
_go32_dpmi_seginfo old_keyb_handler_seginfo, new_keyb_handler_seginfo;
|
||||
|
||||
Reference in New Issue
Block a user