Compilation and warning fixes for GCC 3.2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-10-22 20:54:50 +00:00
parent 63407846da
commit 753287c1fd
5 changed files with 9 additions and 9 deletions

View File

@ -904,11 +904,11 @@ static void arrange_indirection_tokens_between( string& type,
{
// TBD:: FIXME:: return value of operators !
while ( identifier[0] == '*' ||
identifier[0] == '&'
while ( identifier[0u] == '*' ||
identifier[0u] == '&'
)
{
type += identifier[0];
type += identifier[0u];
identifier.erase(0,1);
if ( !identifier.length() ) return;

View File

@ -154,4 +154,4 @@ public:
};
#endif
#endif

View File

@ -97,4 +97,4 @@ public:
};
#endif
#endif

View File

@ -43,4 +43,4 @@ static TagStructT htmlTags[] =
MarkupTagsT get_HTML_markup_tags()
{
return htmlTags;
}
}

View File

@ -639,18 +639,18 @@ void SourcePainter::GetResultString(string& result, MarkupTagsT tags)
// ASSERT( mCollectResultsOn );
result = "";
int pos = 0;
unsigned pos = 0;
for( size_t i = 0; i != mBlocks.size(); ++i )
{
int desc = mBlocks[i];
int len = desc & 0xFFFF;
unsigned len = desc & 0xFFFF;
int rank = (desc >> 16) & 0xFFFF;
result += tags[ rank_tags_map[rank] ].start;
for( int n = 0; n != len; ++n )
for( unsigned n = 0; n != len; ++n )
result += mResultStr[pos+n];