$OpenBSD: patch-src_FmBitmaps_c,v 1.3 2016/01/28 13:30:02 sthen Exp $
--- src/FmBitmaps.c.orig	Wed Oct 29 12:02:05 1997
+++ src/FmBitmaps.c	Thu Jan 28 13:29:42 2016
@@ -489,7 +489,7 @@ Widget	     top,wtmp;
  top=wid;
  while(wtmp=XtParent(top)) top=wtmp;
 
- XtVaGetValues(top,XtNcolormap,&old,0);
+ XtVaGetValues(top,XtNcolormap,&old,(void *)NULL);
  
  if (0==(new=XCopyColormapAndFree(di,old))) {
    XtAppWarning(app,"switchColormap failed: cannot allocate new colormap");
@@ -497,7 +497,7 @@ Widget	     top,wtmp;
  }
 
  has_private_cm=True;
- XtVaSetValues(top,XtNcolormap,new,0);
+ XtVaSetValues(top,XtNcolormap,new,(void *)NULL);
  XtSetWMColormapWindows(top,&top,1);
 
  XtAppWarning(app,"switching to private colormap...");
@@ -515,7 +515,7 @@ rval=(from_file? XpmReadFileToPixmap(dpy,win,(String)d
 
 if (rval==XpmColorFailed && switchColormap(top)) {
     /* get the new colormap */
-    XtVaGetValues(top,XtNcolormap,&atts->colormap,0);
+    XtVaGetValues(top,XtNcolormap,&atts->colormap,(void *)NULL);
     /* and repeat */
     rval=(from_file? XpmReadFileToPixmap(dpy,win,(String)data,pm,msk,atts) :
 		     XpmCreatePixmapFromData(dpy,win,data,pm,msk,atts));
