libdraw: accept unsigned msec timestamp in /dev/mouse
This commit is contained in:
parent
0431ea242d
commit
34c7af22c1
2 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ _ioproc(void *arg)
|
|||
m.xy.x = atoi(buf+1+0*12);
|
||||
m.xy.y = atoi(buf+1+1*12);
|
||||
m.buttons = atoi(buf+1+2*12);
|
||||
m.msec = atoi(buf+1+3*12);
|
||||
m.msec = (ulong)atoll(buf+1+3*12);
|
||||
if(send(mc->c, &m) < 0)
|
||||
continue;
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue