X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ff2d2639049a0bd8d64d87fbe27694354b7097..6f34921d9369a31de14e4b07e4824e2d701710f0:/src/common/dynlib.cpp?ds=sidebyside diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 7e2f336baf..db17f823d4 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -118,7 +118,7 @@ wxLibrary *wxLibraries::LoadLibrary(const wxString& name) return ((wxLibrary *)node->Data()); #ifdef __UNIX__ - lib_name.Prepend("lib"); + lib_name.Prepend("./lib"); lib_name += ".so"; printf("lib_name = %s\n", WXSTRINGCAST lib_name); @@ -166,7 +166,7 @@ wxClassLibrary::wxClassLibrary(void) wxClassLibrary::~wxClassLibrary(void) { - uint i; + size_t i; for (i=0;iclass_info == class_info) { @@ -200,7 +200,7 @@ bool wxClassLibrary::CreateObjects(const wxString& path, wxArrayClassInfo& objs) { wxClassLibInfo *info; - uint i = 0; + size_t i = 0; while (i < m_list.Count()) { info = m_list[i]; @@ -215,7 +215,7 @@ bool wxClassLibrary::FetchInfos(const wxString& path, wxArrayClassLibInfo& infos) { wxClassLibInfo *info; - uint i = 0; + size_t i = 0; while (i < m_list.Count()) { info = m_list[i]; @@ -232,7 +232,7 @@ bool wxClassLibrary::FetchInfos(const wxString& path, wxObject *wxClassLibrary::CreateObject(const wxString& path) { wxClassLibInfo *info; - uint i = 0; + size_t i = 0; while (i < m_list.Count()) { info = m_list[i];