diff --git a/ZCppMain/ZtCStringEx.H b/ZCppMain/ZtCStringEx.H index d5f6081..7bf00b7 100644 --- a/ZCppMain/ZtCStringEx.H +++ b/ZCppMain/ZtCStringEx.H @@ -776,7 +776,8 @@ namespace ZNsMain { this->FiniMem(mpc_Data); - mpc_Data =this->InitMem((VL_NewAllocSize+1)*sizeof(TypeChar)); + mpc_Data =this->InitMem + ( (VL_NewAllocSize+1)*sizeof(TypeChar) ); ml_AllLen =VL_NewAllocSize ; ml_UseLen =0 ; mpc_Data[0]=0 ; @@ -833,7 +834,7 @@ namespace ZNsMain { if(ml_AllLen>0) { - this->FiniMem(mpc_Data) ; + this->FiniMem(mpc_Data) ; mpc_Data = 0 ; ml_AllLen = ml_UseLen =0; }/*