[gnome-builder] Fix logging with --enable-trace on C++, again



commit 3181b9f8a8d9bb569d88f3fe3bc7c9ad82da187f
Author: albfan <albertofanjul gmail com>
Date:   Sun Oct 30 22:45:04 2016 +0100

     Fix logging with --enable-trace on C++, again

 libide/ide-debug.h.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-debug.h.in b/libide/ide-debug.h.in
index a008345..f8a5f6d 100644
--- a/libide/ide-debug.h.in
+++ b/libide/ide-debug.h.in
@@ -34,7 +34,7 @@ G_BEGIN_DECLS
  * IDE_LOG_LEVEL_TRACE: (skip)
  */
 #ifndef IDE_LOG_LEVEL_TRACE
-# define IDE_LOG_LEVEL_TRACE ((GLogLevelFlags)1 << G_LOG_LEVEL_USER_SHIFT)
+# define IDE_LOG_LEVEL_TRACE ((GLogLevelFlags)(1 << G_LOG_LEVEL_USER_SHIFT))
 #endif
 
 #ifdef IDE_ENABLE_TRACE


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]