View Single Post
kate
Member
 
Join Date: Jan 2006
 
2006-09-15, 00:42

Hi,
Iam downloaded Mozilla 1.8a6 from ftp and Iam trying to build it.
But Iam getting following erros:

nsDeviceContextMac.cpp: In static member function 'static bool nsDeviceContextMac::GetMacFontNumber(const nsString&, short int&)':
nsDeviceContextMac.cpp:953: error: cast from 'void*' to 'short int' loses precision
nsDeviceContextMac.cpp: In function 'PRBool EnumerateFont(nsHashKey*, void*, void*)':
nsDeviceContextMac.cpp:1154: error: cast from 'void*' to 'FMFontFamily' loses precision

Iam using gcc 4.0.1.
Any help would be appreciated.
  quote