mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
OSX GUI - Prevent compiler errors when -std=c++11 is switched on
This commit is contained in:
parent
9cb678ebcc
commit
7f6765ece4
2 changed files with 2 additions and 2 deletions
|
|
@ -112,7 +112,7 @@ set_language_preference ()
|
|||
break;
|
||||
}
|
||||
}
|
||||
NSRange r = { 0, count };
|
||||
NSRange r = { 0, static_cast<NSUInteger> (count) };
|
||||
setenv ("LANGUAGE", [[[languages subarrayWithRange:r] componentsJoinedByString:@":"] UTF8String], 0);
|
||||
cout << "LANGUAGE set to " << getenv ("LANGUAGE") << endl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue