diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-07-23 19:25:28 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-07-23 19:25:28 +0200 |
commit | 34c7af22c16781bbe9e415a7c25ec54a32acff8a (patch) | |
tree | 365f42653ebd829f71fbe2dffb728a23d3b76c23 /sys/src/libdraw/mouse.c | |
parent | 0431ea242d8856c5a780ab3a01252f3909349a49 (diff) |
libdraw: accept unsigned msec timestamp in /dev/mouse
Diffstat (limited to 'sys/src/libdraw/mouse.c')
-rw-r--r-- | sys/src/libdraw/mouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libdraw/mouse.c b/sys/src/libdraw/mouse.c index 4f36abc73..984ae3350 100644 --- a/sys/src/libdraw/mouse.c +++ b/sys/src/libdraw/mouse.c @@ -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; /* |