Merge pull request #179 from mstorsjo/fix-bundleloader-64bit

Fix building of macos bundle loading code on 64 bit
This commit is contained in:
Ethan Hugg 2014-01-21 09:46:40 -08:00
commit 57a292b106

View File

@ -68,7 +68,7 @@ if (noErr == iStatus) {
}
}
std::string strPath (cCurrentPath);
int pos = std::string::npos;
std::string::size_type pos = std::string::npos;
for (int i = 0; i < locateNumber; i++) {
pos = strPath.rfind ('/');
if (std::string::npos == pos) {