mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Fix build bustage.
My build on Linux worked; don't understand why the Tinderbox build is different.
This commit is contained in:
parent
f7ee0a5e97
commit
1fc11905d8
@ -1967,7 +1967,8 @@ enumeratePolicy(const char *prefName, void *policies) {
|
||||
return;
|
||||
int count = 0;
|
||||
const char *dots[5];
|
||||
for (const char *p=prefName; *p; p++) {
|
||||
const char *p;
|
||||
for (p=prefName; *p; p++) {
|
||||
if (*p == '.') {
|
||||
dots[count++] = p;
|
||||
if (count == sizeof(dots)/sizeof(dots[0]))
|
||||
@ -2004,6 +2005,6 @@ nsScriptSecurityManager::InitFromPrefs()
|
||||
if (NS_FAILED(rv))
|
||||
return NS_ERROR_FAILURE;
|
||||
rv = prefs->EnumerateChildren("security.policy", enumeratePolicy,
|
||||
domPropertyPolicyTypes);
|
||||
(void *) domPropertyPolicyTypes);
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user