+/*
+ * CDE - Common Desktop Environment
+ *
+ * Copyright (c) 1993-2012, The Open Group. All rights reserved.
+ *
+ * These libraries and programs are free software; you can
+ * redistribute them and/or modify them under the terms of the GNU
+ * Lesser General Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * These libraries and programs are distributed in the hope that
+ * they will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with these libraries and programs; if not, write
+ * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+ * Floor, Boston, MA 02110-1301 USA
+ */
/* $XConsortium: HelpP.c /main/4 1995/11/02 14:40:13 rswiston $ */
/************************************<+>*************************************
****************************************************************************
}
_DtShowDialog(parentShell, NULL, NULL, dialogData, NULL, NULL,
- DTHelpClose, (XtPointer)workspaceNum,
+ DTHelpClose, (XtPointer)(XtArgVal)workspaceNum,
desktop_data->workspaceData[workspaceNum]->name,
False, False, NULL, NULL);
helpRec = (HelpRec *)_DtGetDialogInstance(dialogData);
XtRemoveAllCallbacks(helpRec->helpDialog, DtNhyperLinkCallback);
XtAddCallback(helpRec->helpDialog, DtNhyperLinkCallback,
- DTHyperLink, (XtPointer)workspaceNum);
+ DTHyperLink, (XtPointer)(XtArgVal)workspaceNum);
}
DialogData *new_dialog_data )
{
- int workspaceNum = (int) client_data;
+ int workspaceNum = (int)(XtArgVal) client_data;
int count;
int i, j;
WorkspaceRec * wsInfo;
XtPointer callData )
{
- int workspaceNum = (int) clientData;
+ int workspaceNum = (int)(XtArgVal) clientData;
DtHelpDialogCallbackStruct * hyperData;
hyperData = (DtHelpDialogCallbackStruct *)callData;