ac = 0;
XtSetArg(al[ac], DtNhelpType, DtHELP_TYPE_TOPIC); ac++;
- switch ((int)clientData) {
+ switch ((intptr_t)clientData) {
case HELP_OVERVIEW:
XtSetArg(al[ac], DtNhelpVolume, "Calendar"); ac++;
XtSetArg(al[ac], DtNlocationId, "_HOMETOPIC"); ac++;
while (!XtIsSubclass(w, applicationShellWidgetClass))
w = XtParent(w);
- status = DtHelpReturnSelectedWidgetId(w, NULL, &selWidget);
+ status = DtHelpReturnSelectedWidgetId(w, 0, &selWidget);
switch ((int)status)
{
case DtHELP_SELECT_ERROR:
- printf(catgets(c->DT_catd, 1, 350, "Selection Error, cannot continue\n"));
+ printf("%s", catgets(c->DT_catd, 1, 350, "Selection Error, cannot continue\n"));
break;
case DtHELP_SELECT_VALID:
while (selWidget != NULL)