cast needed on codewarrior, not on gcc. fix fizzilla bustage.

This commit is contained in:
pinkerton%netscape.com 2001-04-17 04:32:43 +00:00
Родитель 7b7d665240
Коммит 74c2049e34
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -469,7 +469,7 @@ void nsMacControl::NSStringSetControlTitle(ControlHandle theControl, nsString ti
#if TARGET_CARBON
// wow, it sure is nice being able to use core foundation ;)
CFStringRef str = CFStringCreateWithCharacters(NULL, title.GetUnicode(), title.Length());
CFStringRef str = CFStringCreateWithCharacters(NULL, (const UniChar*)title.GetUnicode(), title.Length());
SetControlTitleWithCFString(theControl, str);
CFRelease(str);