#endif
#if defined( wxUSE_TEMPLATE_STL )
-
- #include <map>
+# include <map>
#else
-
- #include "wxstlac.h"
-
+# include "wxstlac.h"
#endif
#include "sourcepainter.h"
// "make sure" the address of the first member of non-polimorphic class
// coinsides with the address of the instance
+/*
KeywordT dummy;
-/*
if ( (char*)& dummy != &dummy.keyWord[0] )
throw;
*/
// 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];
+ result += mResultStr[(unsigned int)(pos+n)];
pos += len;