Fix building of macos bundle loading code on 64 bit
This commit is contained in:
parent
f8b84b642d
commit
d1a6929516
@ -68,7 +68,7 @@ if (noErr == iStatus) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::string strPath (cCurrentPath);
|
std::string strPath (cCurrentPath);
|
||||||
int pos = std::string::npos;
|
std::string::size_type pos = std::string::npos;
|
||||||
for (int i = 0; i < locateNumber; i++) {
|
for (int i = 0; i < locateNumber; i++) {
|
||||||
pos = strPath.rfind ('/');
|
pos = strPath.rfind ('/');
|
||||||
if (std::string::npos == pos) {
|
if (std::string::npos == pos) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user