Changed cast to XID (for IRIX)

This commit is contained in:
rods 1998-07-09 19:51:53 +00:00
parent dc0edd7b70
commit 39a02036ac

View File

@ -763,7 +763,7 @@ void nsWindow::SetFont(const nsFont &aFont)
XmFontList fontList = NULL;
XmFontListEntry entry = NULL;
XFontStruct * fontStruct = XQueryFont(XtDisplay(mWidget),
metrics->GetFontHandle());
(XID)metrics->GetFontHandle());
if (fontStruct != NULL) {
entry = XmFontListEntryCreate(XmFONTLIST_DEFAULT_TAG,
XmFONT_IS_FONT, fontStruct);