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:
timeless%mozdev.org 2004-08-30 17:41:06 +00:00
Родитель 9adb4998fb
Коммит ad83a235cb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;