diff --git a/ZCppMain/ZMainHead.H b/ZCppMain/ZMainHead.H index 0758e15..3dec344 100644 --- a/ZCppMain/ZMainHead.H +++ b/ZCppMain/ZMainHead.H @@ -803,12 +803,10 @@ namespace ZNsMain namespace ZNsIn*/ + /*++++++++++++++++++++++++++++++++++++++++++++++++++*/ template class ZtCCharIntBySize - { - public: typedef ZTypLong TypeInt; - };/* - template class ZtCCharIntBySize*/ - + { public: typedef ZTypLong TypeInt; }; + /*++++++++++++++++++++++++++++++++++++++++++++++++++*/ template<> class ZtCCharIntBySize { public: typedef ZTypInt TypeInt; }; template<> class ZtCCharIntBySize @@ -7228,17 +7226,20 @@ namespace ZNsMain TypeCharC* VP_Left = mp_TypeChar; TypeCharC* VP_Right=rhs.mp_TypeChar; + typedef typename ZtCCharInt + ::TypeInt TypeCharInt; + #if(_CODE_OLD_) - TypeChar VC_Minus = 0; + TypeChar VC_Minus = 0; #else - int VI_Minus = 0; // 페이지 하단의 'char 의 int 확장에 따른 문제의 코드' 참고. + TypeCharInt VI_Minus = 0; // 페이지 하단의 'char 의 int 확장에 따른 문제의 코드' 참고. #endif - TypeLength VL_Index = 0; - TypeLength VL_Loop = /*::::::::::::::::::::::::::*/ + TypeLength VL_Index = 0; + TypeLength VL_Loop = /*:::::::::::::::::::::::::*/ ( - ml_TypeSize <= rhs.ml_TypeSize ? - this->ml_TypeSize : - rhs. ml_TypeSize + ml_TypeSize <= rhs.ml_TypeSize + ? this->ml_TypeSize + : rhs. ml_TypeSize ) ; /*::::::::::::::::::::::::::::::::::::::::::::::::*/ @@ -7251,11 +7252,11 @@ namespace ZNsMain }/* if((VC_Minus=*VP_Left++ - *VP_Right++)!=0)*/ #else - if((VI_Minus=int(*VP_Left++) - int(*VP_Right++))!=0) + if((VI_Minus0=TypeCharInt(*VP_Left++) - TypeCharInt(*VP_Right++))!=0) { return VI_Minus; // 페이지 하단의 'char 의 int 확장에 따른 문제의 코드' 참고. }/* - if((VI_Minus=int(*VP_Left++) - int(*VP_Right++))!=0)*/ + if((VI_Minus=TypeCharInt(*VP_Left++) - TypeCharInt(*VP_Right++))!=0)*/ #endif ++VL_Index;