Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!news.larc.nasa.gov!mris.larc.nasa.gov!jka From: jka@mris.larc.nasa.gov (J. Keith Alston) Newsgroups: comp.windows.x.motif Subject: illegal pointer/int combination Message-ID: <1991May22.172108.3805@news.larc.nasa.gov> Date: 22 May 91 17:21:08 GMT Sender: news@news.larc.nasa.gov (USENET Network News) Distribution: na Organization: NASA Langley Research Center, Hampton, VA USA Lines: 18 Originator: jka@mris.larc.nasa.gov Greetings, on compilation of a MOTIF program I get the following warning, "program.c",line 65:warning:illegal pointer/integer combination,op= line 65 in the program is, menubar=XmCreateMenuBar(form,"menubar",wargs,n); menubar is defined as a Widget. does anyone out there know what this error is caused by or how I can get rid of it. I guess XmCreateMenuBar is generating an integer value and menubar is a pointer type? Also how can I specify the width of the menubar. specifying XmNwidth doesn't seem to work. -- "In this world you must be OH so smart or OH so pleasant... I recommend pleasant"----> Elwood P. Dowd Lockheed Eng. and Sci. Co./Nasa Larc|J. Keith Alston jka@snow.larc.nasa.gov