summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2008-03-06 02:14:45 +0000
committerjkim <jkim@FreeBSD.org>2008-03-06 02:14:45 +0000
commit9ca2b049f6fcc9471c0b3e0fc810a5a1af4819a1 (patch)
treebdad3d0ca17ef57bf0f8199600b2ef99e6e5fc4b /usr.sbin/moused
parent13484a6b34e060927199f98894fa153029cdc990 (diff)
downloadFreeBSD-src-9ca2b049f6fcc9471c0b3e0fc810a5a1af4819a1.zip
FreeBSD-src-9ca2b049f6fcc9471c0b3e0fc810a5a1af4819a1.tar.gz
Cast time_t to long to mute tinderbox build failure.
Diffstat (limited to 'usr.sbin/moused')
-rw-r--r--usr.sbin/moused/moused.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c
index 111ae71..0d57d46 100644
--- a/usr.sbin/moused/moused.c
+++ b/usr.sbin/moused/moused.c
@@ -2547,7 +2547,7 @@ r_timestamp(mousestatus_t *act)
ts2.tv_sec = rodent.clickthreshold / 1000;
ts2.tv_nsec = (rodent.clickthreshold % 1000) * 1000000;
tssub(&ts1, &ts2, &ts);
- debug("ts: %ld %ld", ts.tv_sec, ts.tv_nsec);
+ debug("ts: %ld %ld", (long)ts.tv_sec, ts.tv_nsec);
/* 3 button emulation timeout */
ts2.tv_sec = rodent.button2timeout / 1000;
@@ -2560,7 +2560,7 @@ r_timestamp(mousestatus_t *act)
if (act->button & button) {
/* the button is down */
debug(" : %ld %ld",
- bstate[i].ts.tv_sec, bstate[i].ts.tv_nsec);
+ (long)bstate[i].ts.tv_sec, bstate[i].ts.tv_nsec);
if (tscmp(&ts, &bstate[i].ts, >)) {
bstate[i].count = 1;
} else {
OpenPOWER on IntegriCloud