From 9ead74b670fb6bb4c809ee6ac251b28619645630 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 6 Apr 2010 14:55:17 +0000 Subject: [PATCH] Really fix compilation with old SIP (tool for generating bindings) Signed-off-by: Peter Lemenkov git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1775 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/py_sems/sip/string.sip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/py_sems/sip/string.sip b/apps/py_sems/sip/string.sip index c3372e55..6c32dbd8 100644 --- a/apps/py_sems/sip/string.sip +++ b/apps/py_sems/sip/string.sip @@ -23,7 +23,7 @@ using std::string; return 0; } #if SIP_VERSION < 0x040901 - *sipCppPtr = (std::string *)sipForceConvertToType(sipPy, sipType_string, NULL, SIP_NO_CONVERTORS, NULL, sipIsErr); + *sipCppPtr = (std::string *)sipForceConvertTo_string(sipPy, sipIsErr); #else *sipCppPtr = (std::string *)sipForceConvertToType(sipPy, sipType_string, NULL, SIP_NO_CONVERTORS, NULL, sipIsErr); #endif