Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
db77a234b6
commit
d5cf876504
1 changed files with 2 additions and 4 deletions
|
@ -59,8 +59,7 @@ afx_msg void CLAEdit::OnKeyDown( UINT nChar, UINT nRepCnt, UINT nFlags )
|
||||||
int start, end;
|
int start, end;
|
||||||
GetSel( start, end );
|
GetSel( start, end );
|
||||||
str = str.Mid( start, end-start );
|
str = str.Mid( start, end-start );
|
||||||
sint lineNum;
|
int lineNum = atoi(str);
|
||||||
NLMISC::fromString(str, lineNum);
|
|
||||||
if ( ! ((lineNum != 0) || (str == "0")) )
|
if ( ! ((lineNum != 0) || (str == "0")) )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -714,8 +713,7 @@ void CLog_analyserDlg::insertTraceLine( int index, char *traceLine )
|
||||||
char *line = strchr( traceLine, ':' );
|
char *line = strchr( traceLine, ':' );
|
||||||
char scycle [10];
|
char scycle [10];
|
||||||
strncpy( scycle, traceLine, line-traceLine );
|
strncpy( scycle, traceLine, line-traceLine );
|
||||||
sint cycle;
|
int cycle = atoi(scycle);
|
||||||
NLMISC::fromString(scycle, cycle);
|
|
||||||
TStampedLine stampedLine;
|
TStampedLine stampedLine;
|
||||||
stampedLine.Index = index;
|
stampedLine.Index = index;
|
||||||
stampedLine.Line = CString(traceLine);
|
stampedLine.Line = CString(traceLine);
|
||||||
|
|
Loading…
Reference in a new issue