зеркало из https://github.com/mozilla/gecko-dev.git
Bug 256994 Error in "intl/src/mac" when trying to build Firefox with Apple GCC-3.5-tree-ssa
patch by mcsmurf@gmx.de r=smontagu sr=smfr
This commit is contained in:
Родитель
45b74b607e
Коммит
a8c31e3ee7
|
@ -219,7 +219,7 @@ NS_IMETHODIMP nsCollationMacUC::CompareString(
|
|||
err = ::UCCompareText(mCollator,
|
||||
(const UniChar *) PromiseFlatString(string1).get(), (UniCharCount) string1.Length(),
|
||||
(const UniChar *) PromiseFlatString(string2).get(), (UniCharCount) string2.Length(),
|
||||
NULL, result);
|
||||
NULL, (SInt32*) result);
|
||||
|
||||
NS_ENSURE_TRUE((err == noErr), NS_ERROR_FAILURE);
|
||||
return NS_OK;
|
||||
|
@ -240,7 +240,7 @@ NS_IMETHODIMP nsCollationMacUC::CompareRawSortKey(
|
|||
OSStatus err;
|
||||
err = ::UCCompareCollationKeys((const UCCollationValue*) key1, (ItemCount) len1,
|
||||
(const UCCollationValue*) key2, (ItemCount) len2,
|
||||
NULL, result);
|
||||
NULL, (SInt32*) result);
|
||||
|
||||
NS_ENSURE_TRUE((err == noErr), NS_ERROR_FAILURE);
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче