summarylogtreecommitdiffstats
path: root/0001-Fix-compiliation-warnings-errors.patch
blob: db1446a1bd2edcf0eec9d390aa20d905943d629d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From e0e42221ceb77d88be64fac1c09792dc5c9e2f43 Mon Sep 17 00:00:00 2001
From: Ben Iofel <iofelben@gmail.com>
Date: Thu, 17 Mar 2016 18:28:02 -0400
Subject: [PATCH] Fix compiliation warnings & errors

---
 src/dbgengine/nmv-dbg-common.h        | 2 +-
 src/dbgengine/nmv-i-var-list-walker.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/dbgengine/nmv-dbg-common.h b/src/dbgengine/nmv-dbg-common.h
index ad3cc00b..0edac7c0 100644
--- a/src/dbgengine/nmv-dbg-common.h
+++ b/src/dbgengine/nmv-dbg-common.h
@@ -171,7 +171,7 @@ public:
 
     bool has_slot () const
     {
-        return m_slot;
+        return static_cast<bool> (m_slot);
     }
 
     template<class T>
diff --git a/src/dbgengine/nmv-i-var-list-walker.h b/src/dbgengine/nmv-i-var-list-walker.h
index b719c0de..f2f3229d 100644
--- a/src/dbgengine/nmv-i-var-list-walker.h
+++ b/src/dbgengine/nmv-i-var-list-walker.h
@@ -22,7 +22,7 @@
  *
  *See COPYRIGHT file copyright information.
  */
-#ifndef __NMV_VAR_LIST_WALKER_H__
+#ifndef __NMV_I_VAR_LIST_WALKER_H__
 #define __NMV_I_VAR_LIST_WALKER_H__
 
 #include "nmv-i-var-walker.h"
-- 
2.13.0