* ** DELETE THE GENERATED COMMENTS! **
*/
+#include <stdint.h>
#include <stdio.h>
#include <Xm/Xm.h>
#include "dtb_utils.h"
#include <stdio.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
#include <strstream>
#else
#include <strstream.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;
}