From ed93117447a3217fab0e2425f8761e24423024b5 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Mon, 13 Aug 2012 15:04:39 +0200 Subject: fdo#53061: Fix for C++11 #define NULL nullptr Change-Id: Ia1805aab4bec7fef02c96ec4e7a7a0ed9991d3c3 Signed-off-by: Stephan Bergmann --- mysqlc/source/mysqlc_propertyids.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysqlc/source') diff --git a/mysqlc/source/mysqlc_propertyids.hxx b/mysqlc/source/mysqlc_propertyids.hxx index 4f88b0cb6380..3118813ccddf 100644 --- a/mysqlc/source/mysqlc_propertyids.hxx +++ b/mysqlc/source/mysqlc_propertyids.hxx @@ -136,7 +136,7 @@ enum //------------------------------------------------------------------------------ #define DECL_PROP1IMPL(varname, type) \ -pProperties[nPos++] = Property(OPropertyMap::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getCppuType(reinterpret_cast< type*>(NULL)), +pProperties[nPos++] = Property(OPropertyMap::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getCppuType(static_cast< type*>(0)), //------------------------------------------------------------------------------ #define DECL_PROP0(varname, type) \ DECL_PROP1IMPL(varname, type) 0) -- cgit v1.2.3