]>
Commit | Line | Data |
---|---|---|
25394930 MB |
1 | From e0e42221ceb77d88be64fac1c09792dc5c9e2f43 Mon Sep 17 00:00:00 2001 |
2 | From: Ben Iofel <iofelben@gmail.com> | |
3 | Date: Thu, 17 Mar 2016 18:28:02 -0400 | |
4 | Subject: [PATCH] Fix compiliation warnings & errors | |
5 | ||
6 | --- | |
7 | src/dbgengine/nmv-dbg-common.h | 2 +- | |
8 | src/dbgengine/nmv-i-var-list-walker.h | 2 +- | |
9 | 2 files changed, 2 insertions(+), 2 deletions(-) | |
10 | ||
11 | diff --git a/src/dbgengine/nmv-dbg-common.h b/src/dbgengine/nmv-dbg-common.h | |
12 | index ad3cc00b..0edac7c0 100644 | |
13 | --- a/src/dbgengine/nmv-dbg-common.h | |
14 | +++ b/src/dbgengine/nmv-dbg-common.h | |
15 | @@ -171,7 +171,7 @@ public: | |
16 | ||
17 | bool has_slot () const | |
18 | { | |
19 | - return m_slot; | |
20 | + return static_cast<bool> (m_slot); | |
21 | } | |
22 | ||
23 | template<class T> | |
24 | diff --git a/src/dbgengine/nmv-i-var-list-walker.h b/src/dbgengine/nmv-i-var-list-walker.h | |
25 | index b719c0de..f2f3229d 100644 | |
26 | --- a/src/dbgengine/nmv-i-var-list-walker.h | |
27 | +++ b/src/dbgengine/nmv-i-var-list-walker.h | |
28 | @@ -22,7 +22,7 @@ | |
29 | * | |
30 | *See COPYRIGHT file copyright information. | |
31 | */ | |
32 | -#ifndef __NMV_VAR_LIST_WALKER_H__ | |
33 | +#ifndef __NMV_I_VAR_LIST_WALKER_H__ | |
34 | #define __NMV_I_VAR_LIST_WALKER_H__ | |
35 | ||
36 | #include "nmv-i-var-walker.h" | |
37 | -- | |
38 | 2.13.0 | |
39 |