mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
latest sparc32 patch from Blueswirl
git-svn-id: svn://coreboot.org/openbios/openbios-devel@13 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -68,7 +68,7 @@ unicode_uni2asc(char *astr, const hfsp_unistr255 *ustr, int maxlen)
|
||||
fastUnicodeCompare - Compare two Unicode strings; produce a relative ordering
|
||||
*/
|
||||
|
||||
static UInt16 gLowerCaseTable[];
|
||||
static const UInt16 gLowerCaseTable[];
|
||||
|
||||
SInt32 fast_unicode_compare ( const hfsp_unistr255 *ustr1,
|
||||
const hfsp_unistr255 *ustr2)
|
||||
@@ -78,7 +78,7 @@ SInt32 fast_unicode_compare ( const hfsp_unistr255 *ustr1,
|
||||
register UInt16 temp;
|
||||
register UInt16 length1 = ustr1->strlen;
|
||||
register UInt16 length2 = ustr2->strlen;
|
||||
register UInt16* lowerCaseTable = gLowerCaseTable;
|
||||
register const UInt16* lowerCaseTable = gLowerCaseTable;
|
||||
register UInt16* str1 = ustr1->name;
|
||||
register UInt16* str2 = ustr2->name;
|
||||
|
||||
@@ -118,7 +118,7 @@ SInt32 fast_unicode_compare ( const hfsp_unistr255 *ustr1,
|
||||
Ignored characters are mapped to zero.
|
||||
*/
|
||||
|
||||
static UInt16 gLowerCaseTable[] = {
|
||||
static const UInt16 gLowerCaseTable[] = {
|
||||
|
||||
// High-byte indices ( == 0 iff no case mapping and no ignorables )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user