Thankyou, Roshan, Bruce and Keven,
Keven had the answer I was looking for, the TYPEDEF. Typedefing the
prototype and casting with that eliminates the warning.
Thanks to all respondents
John Zoltak
North American Mfg Co
> -----Original Message-----
> From: Keven Miller [SMTP:[log in to unmask]]
> Sent: Wednesday, October 28, 1998 1:07 PM
> To: John Zoltak; HPlist
> Subject: RE: [HP3000-L] HP C/iX Warning 604
>
> Try this
>
> #pragma intrinsic HPGETPROCPLABEL
>
> typedef short (*i2funcptr)();
>
> i2funcptr pASCII;
>
> void *load () {
> int pLabel;
> HPGETPROCPLABEL ("%ASCII%", &pLabel );
> return (void*) pLabel;
> }
>
> void main () {
> pASCII = (i2funcptr) load ();
> }
>
>
> +=====================================
> Keven Miller KC7LYD
> [log in to unmask] (Salt Lake City, Utah, USA)
> +=====================================
>
>