]> granicus.if.org Git - icinga2/commitdiff
Build fix for SLES 11 (with -std=c++11)
authorGunnar Beutner <gunnar@beutner.name>
Sat, 21 Nov 2015 03:46:13 +0000 (04:46 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Sat, 21 Nov 2015 03:46:13 +0000 (04:46 +0100)
fixes #10615

lib/config/config_parser.yy

index 1b5e5ed096919a3b68324d9f9df3fafc309c411a..dc83a242eaf8ad68d4fa4b805fee1fe2f0526a14 100644 (file)
@@ -342,8 +342,8 @@ object:
                context->m_ObjectAssign.push(true);
                context->m_SeenAssign.push(false);
                context->m_SeenIgnore.push(false);
-               context->m_Assign.push(NULL);
-               context->m_Ignore.push(NULL);
+               context->m_Assign.push(0);
+               context->m_Ignore.push(0);
        }
        object_declaration identifier optional_rterm use_specifier ignore_specifier rterm_scope_require_side_effect
        {