[gtk+/wip/mir2] mir: fix time conversion macro
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/mir2] mir: fix time conversion macro
- Date: Tue, 2 Dec 2014 16:14:30 +0000 (UTC)
commit 292229fa415133cc6801121eedc460caee287618
Author: William Hua <william attente ca>
Date: Tue Dec 2 11:12:11 2014 -0500
mir: fix time conversion macro
gdk/mir/gdkmireventsource.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/mir/gdkmireventsource.c b/gdk/mir/gdkmireventsource.c
index 9e317bc..d2e3f2e 100644
--- a/gdk/mir/gdkmireventsource.c
+++ b/gdk/mir/gdkmireventsource.c
@@ -22,7 +22,7 @@
#include "gdkmir.h"
#include "gdkmir-private.h"
-#define NANO_TO_MILLI(x) (x / 1000000)
+#define NANO_TO_MILLI(x) ((x) / 1000000)
struct _GdkMirWindowReference {
GdkMirEventSource *source;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]