Skip to content

Commit 69dba70

Browse files
committed
Visual C++ warning fix
1 parent 06cd778 commit 69dba70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Modules/interface.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void Swig_interface_propagate_methods(Node *n) {
148148
process_interface_name(n);
149149
collect_interface_base_classes(n);
150150
List *methods = collect_interface_methods(n);
151-
bool is_interface = GetFlag(n, "feature:interface");
151+
bool is_interface = GetFlag(n, "feature:interface") ? true : false;
152152
for (Iterator mi = First(methods); mi.item; mi = Next(mi)) {
153153
if (!is_interface && GetFlag(mi.item, "abstract"))
154154
continue;

0 commit comments

Comments
 (0)