off_t wxStringTokenizer::FindDelims(const wxString& str, const wxString& delims) const
{
- for ( int i = 0; i < str.Length(); i++ )
+ for ( size_t i = 0; i < str.Length(); i++ )
{
char c = str[i];
- for ( int j = 0; j < delims.Length() ; j++ )
+ for ( size_t j = 0; j < delims.Length() ; j++ )
{
if ( delims[j] == c )
return i;
#endif
#ifndef wxStrdup
-wxChar * WXDLLEXPORT wxStrdup(const wxChar *psz)
+WXDLLEXPORT wxChar * wxStrdup(const wxChar *psz)
{
size_t size = (wxStrlen(psz) + 1) * sizeof(wxChar);
wxChar *ret = (wxChar *) malloc(size);
#endif
#ifndef wxStrtok
-wxChar * WXDLLEXPORT wxStrtok(wxChar *psz, const wxChar *delim, wxChar **save_ptr)
+WXDLLEXPORT wxChar * wxStrtok(wxChar *psz, const wxChar *delim, wxChar **save_ptr)
{
if (!psz) psz = *save_ptr;
psz += wxStrspn(psz, delim);