* ** DELETE THE GENERATED COMMENTS! **
*/
+#include <stdlib.h>
#include <stdio.h>
#include <Xm/Xm.h>
#include "dtb_utils.h"
instance, dtb_ttsnoop_ttsnoop_win.ttsnoopWin );
}
XtVaSetValues( instance->callbackChooser, XmNtitle, title, NULL );
- XtPointer xtPtr = (XtPointer)isMessage;
+ XtPointer xtPtr = (XtPointer) (intptr_t) isMessage;
XtVaSetValues( instance->callbackAddButton, XmNuserData, xtPtr, NULL );
XtVaSetValues( instance->callbackAddCancelButton,
XmNuserData, entity, NULL );
* ** DELETE THE GENERATED COMMENTS! **
*/
+#include <stdint.h>
#include <stdio.h>
#include <Xm/Xm.h>
#include "dtb_utils.h"
)
{
tt_message_user_set( msg, (int) (long) _DtTtMessageUpdating,
- (void *)updating );
+ (void *) (intptr_t)updating );
}
typedef enum {
* ** DELETE THE GENERATED COMMENTS! **
*/
+#include <stdint.h>
#include <stdio.h>
#include <Xm/Xm.h>
#include "dtb_utils.h"
)
{
tt_pattern_user_set( pat, (int) (long) _DtTtPatternUpdating,
- (void *)updating );
+ (void *) (intptr_t) updating );
}
void
* ** DELETE THE GENERATED COMMENTS! **
*/
+#include <stdint.h>
#include <stdio.h>
#include <Xm/Xm.h>
#include "dtb_utils.h"
}
ival = 0;
sscanf( text, "%i", &ival );
- msg = (Tt_message)ival;
+ msg = (Tt_message) (intptr_t) ival;
if (DtTtIndex( DTTT_MESSAGE, msg ) < 0) {
return;
}
}
ival = 0;
sscanf( text, "%i", &ival );
- pat = (Tt_pattern)ival;
+ pat = (Tt_pattern) (intptr_t) ival;
if (DtTtIndex( DTTT_PATTERN, pat ) < 0) {
return;
}
}
ival = 0;
sscanf( text, "%i", &ival );
- pats = (Tt_pattern *)ival;
+ pats = (Tt_pattern *) (intptr_t) ival;
if (DtTtIndex( DTTT_DTSESSION, pats ) < 0) {
return;
}
}
ival = 0;
sscanf( text, "%i", &ival );
- pats = (Tt_pattern *)ival;
+ pats = (Tt_pattern *) (intptr_t) ival;
if (DtTtIndex( DTTT_DTFILE, pats ) < 0) {
return;
}