ref: b3c1fa9ecfbaaacef40f6aa26199cdfd7f6cb9b1
parent: 7a145e89b301a1865661f7a6e60a21731f12824f
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Dec 10 11:12:18 EST 2016
devmouse: change msec argument of *mousetrack() to ulong
--- a/sys/src/9/bcm/screen.h
+++ b/sys/src/9/bcm/screen.h
@@ -6,8 +6,8 @@
};
/* devmouse.c */
-extern void mousetrack(int, int, int, int);
-extern void absmousetrack(int, int, int, int);
+extern void mousetrack(int, int, int, ulong);
+extern void absmousetrack(int, int, int, ulong);
extern Point mousexy(void);
extern void mouseaccelerate(int);
--- a/sys/src/9/omap/screen.h
+++ b/sys/src/9/omap/screen.h
@@ -14,8 +14,8 @@
extern Cursorinfo cursor;
/* devmouse.c */
-extern void mousetrack(int, int, int, int);
-extern void absmousetrack(int, int, int, int);
+extern void mousetrack(int, int, int, ulong);
+extern void absmousetrack(int, int, int, ulong);
extern Point mousexy(void);
extern void mouseaccelerate(int);
--- a/sys/src/9/pc/screen.h
+++ b/sys/src/9/pc/screen.h
@@ -6,8 +6,8 @@
};
/* devmouse.c */
-extern void mousetrack(int, int, int, int);
-extern void absmousetrack(int, int, int, int);
+extern void mousetrack(int, int, int, ulong);
+extern void absmousetrack(int, int, int, ulong);
extern Point mousexy(void);
extern void mouseaccelerate(int);
--- a/sys/src/9/port/devmouse.c
+++ b/sys/src/9/port/devmouse.c
@@ -567,7 +567,7 @@
* awaken any waiting procs.
*/
void
-mousetrack(int dx, int dy, int b, int msec)
+mousetrack(int dx, int dy, int b, ulong msec)
{
if(mouse.acceleration){
dx = scale(dx);
@@ -577,7 +577,7 @@
}
void
-absmousetrack(int x, int y, int b, int msec)
+absmousetrack(int x, int y, int b, ulong msec)
{
int lastb;
--- a/sys/src/9/sgi/screen.h
+++ b/sys/src/9/sgi/screen.h
@@ -6,8 +6,8 @@
};
/* devmouse.c */
-extern void mousetrack(int, int, int, int);
-extern void absmousetrack(int, int, int, int);
+extern void mousetrack(int, int, int, ulong);
+extern void absmousetrack(int, int, int, ulong);
extern Point mousexy(void);
extern void mouseaccelerate(int);
--- a/sys/src/9/zynq/screen.h
+++ b/sys/src/9/zynq/screen.h
@@ -6,8 +6,8 @@
};
/* devmouse.c */
-extern void mousetrack(int, int, int, int);
-extern void absmousetrack(int, int, int, int);
+extern void mousetrack(int, int, int, ulong);
+extern void absmousetrack(int, int, int, ulong);
extern Point mousexy(void);
extern void mouseaccelerate(int);