From aef82f12c833f22b22d4a1ffb09261569d1fe1e8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 11 Jun 1999 00:53:28 +0000 Subject: [PATCH] more DLL compilation changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/tokenzr.cpp | 4 ++-- src/common/wxchar.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/tokenzr.cpp b/src/common/tokenzr.cpp index c4f4bfb899..b22a79ba26 100644 --- a/src/common/tokenzr.cpp +++ b/src/common/tokenzr.cpp @@ -37,11 +37,11 @@ wxStringTokenizer::~wxStringTokenizer() 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; diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index fba42b9352..90ec19c7b6 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -146,7 +146,7 @@ int WXDLLEXPORT wxToupper(wxChar ch) { return (wxChar)CharUpper((LPTSTR)(ch)); } #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); @@ -168,7 +168,7 @@ int WXDLLEXPORT wxStricmp(const wxChar *psz1, const wxChar *psz2) #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); -- 2.47.2