From: Peter Howkins Date: Wed, 14 Jan 2015 11:43:58 +0000 (+0000) Subject: libDtPrint: Resolve the 1 remaining compiler warning. X-Git-Tag: 2.2.3~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=49266f9019e4d59c737a72ed2d40a74f66ca704e;p=oweals%2Fcde.git libDtPrint: Resolve the 1 remaining compiler warning. --- diff --git a/cde/lib/DtPrint/PrintSetupB.c b/cde/lib/DtPrint/PrintSetupB.c index f640eaac..7942abe2 100644 --- a/cde/lib/DtPrint/PrintSetupB.c +++ b/cde/lib/DtPrint/PrintSetupB.c @@ -53,6 +53,7 @@ #include #endif #include +#include #include #include @@ -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 */