Fix building of macos bundle loading code on 64 bit

This commit is contained in:
Martin Storsjö 2014-01-21 14:37:39 +02:00
parent f8b84b642d
commit d1a6929516

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) {