libDtPrint: Resolve the 1 remaining compiler warning.
authorPeter Howkins <flibble@users.sf.net>
Wed, 14 Jan 2015 11:43:58 +0000 (11:43 +0000)
committerPeter Howkins <flibble@users.sf.net>
Wed, 14 Jan 2015 11:43:58 +0000 (11:43 +0000)
cde/lib/DtPrint/PrintSetupB.c

index f640eaac491a178fa484dceceada27b2a4dc6f13..7942abe2b14b23a23c9a5e39a1affea64ca1b8b2 100644 (file)
@@ -53,6 +53,7 @@
 #include <values.h>
 #endif
 #include <stdio.h>
+#include <stdint.h>
 
 #include <Xm/XmAll.h>
 #include <Xm/ActivatableT.h>
@@ -1465,7 +1466,7 @@ DestinationChangedCallback(
         * button
         */
        XtVaGetValues(w, XmNuserData, &user_data, NULL);
-       PSUB_PrintDestination(psub) = (XtEnum)user_data;
+       PSUB_PrintDestination(psub) = (XtEnum) (intptr_t) user_data;
        /*
         * Update the print setup box controls sensitivity accordingly
         */