From 1dc81dbf7d7326eac7bc03a35489866bc9754479 Mon Sep 17 00:00:00 2001 From: san Date: Mon, 18 Jul 2005 11:44:14 +0000 Subject: [PATCH] Fix for bug PAL9505 : CRASH after trying to add output port of "string" type. --- src/GraphBase/DataFlowBase_DataPort.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GraphBase/DataFlowBase_DataPort.cxx b/src/GraphBase/DataFlowBase_DataPort.cxx index 1f6d837..0496832 100644 --- a/src/GraphBase/DataFlowBase_DataPort.cxx +++ b/src/GraphBase/DataFlowBase_DataPort.cxx @@ -65,7 +65,7 @@ void GraphBase::DataPort::InitialValues(CORBA::Any aValue ) { } else if ( !strcmp( Type , "string" ) ) { cdebug << "string" << endl ; - InitialValue <<= (char *) NULL ; + InitialValue <<= (char *) "" ; } else if ( !strcmp( Type , "boolean" ) ) { cdebug << "boolean" << endl ; -- 2.39.2