From 5018c353139e5f5291f91eb5bfdc292fd50ed31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 2 May 2013 09:49:31 +0200 Subject: [PATCH] Port timestampCompare/Diff to xcb basically: s/Time/xcb_timestamp_t/g --- utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.h b/utils.h index 91ae5ed9ad..c3ddc4e5f3 100644 --- a/utils.h +++ b/utils.h @@ -290,13 +290,13 @@ Unmanaged* findUnmanagedInList(const UnmanagedList& list, T predicate) } inline -int timestampCompare(Time time1, Time time2) // like strcmp() +int timestampCompare(xcb_timestamp_t time1, xcb_timestamp_t time2) // like strcmp() { return NET::timestampCompare(time1, time2); } inline -Time timestampDiff(Time time1, Time time2) // returns time2 - time1 +xcb_timestamp_t timestampDiff(xcb_timestamp_t time1, xcb_timestamp_t time2) // returns time2 - time1 { return NET::timestampDiff(time1, time2); }