Fix warnings

This commit is contained in:
Pasi Kallinen
2017-10-14 13:48:44 +03:00
parent 04b08298a3
commit 1caa212bd9
2 changed files with 29 additions and 29 deletions

View File

@@ -121,7 +121,7 @@ Region region; /* unused */
nhUse(region);
/* This isn't correct - we need to call the callback with region. */
XtCallCallbacks(w, XtNexposeCallback, (caddr_t) event);
XtCallCallbacks(w, XtNexposeCallback, (XtPointer)event);
}
/* ARGSUSED */
@@ -129,7 +129,7 @@ static void
Resize(w)
Widget w;
{
XtCallCallbacks(w, XtNresizeCallback, (caddr_t) 0);
XtCallCallbacks(w, XtNresizeCallback, (XtPointer) 0);
}
WindowClassRec windowClassRec = {