Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,7 +82,7 @@ wxHtmlHelpIndexCompareFunc(wxHtmlHelpDataItem **a, wxHtmlHelpDataItem **b)
|
||||
return -1;
|
||||
if (ib == NULL)
|
||||
return 1;
|
||||
|
||||
|
||||
if (ia->parent == ib->parent)
|
||||
{
|
||||
return ia->name.CmpNoCase(ib->name);
|
||||
@@ -686,7 +686,7 @@ bool wxHtmlHelpData::AddBook(const wxString& book)
|
||||
lineptr = ReadLine(lineptr, linebuf, 300);
|
||||
|
||||
for (wxChar *ch = linebuf; *ch != wxT('\0') && *ch != wxT('='); ch++)
|
||||
*ch = tolower(*ch);
|
||||
*ch = (wxChar)wxTolower(*ch);
|
||||
|
||||
if (wxStrstr(linebuf, _T("title=")) == linebuf)
|
||||
title = linebuf + wxStrlen(_T("title="));
|
||||
|
Reference in New Issue
Block a user