bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure on itanium/IA64


From: J.H.M. Dassen (Ray)
Subject: Re: Build failure on itanium/IA64
Date: Mon, 12 Nov 2001 20:01:24 +0100
User-agent: Mutt/1.3.23i

On Mon, Nov 12, 2001 at 18:15:37 +0000, Arnaud Desitter wrote:
> Replace
>       blink_timer = XtAppAddTimeOut(XtWidgetToApplicationContext(led_w),
>                                     app_data.busy_blink_rate, BlinkCB,
>                                     XtPointer(int(!set)));
> by
>       blink_timer = XtAppAddTimeOut(XtWidgetToApplicationContext(led_w),
>                                     app_data.busy_blink_rate, BlinkCB,
>                                     (!set ? 1 : 0) );

This still fails with "cannot convert `int' to `void *' for argument `4' to
`XtAppAddTimeOut (_XtAppStruct *, long unsigned int, void (*) (void *,
XtIntervalId *), void *)'".

Replacing it with
        blink_timer = XtAppAddTimeOut(XtWidgetToApplicationContext(led_w),
                                      app_data.busy_blink_rate, BlinkCB,
                                      XtPointer((void *)(!set)));
seems to do the trick though.

Thanks,
Ray
-- 
No longer will we mistake music for a noun, as its containers have tempted
us to do for a century. We will realize once more that music is a verb, a
relationship, a constantly evolving life form. 
        John Perry Barlow in http://technocrat.net/958163435/index_html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]