dtpad: Use XtArgVal for int conversion
authorMarcin Cieslak <saper@saper.info>
Mon, 24 Sep 2012 01:15:20 +0000 (03:15 +0200)
committerJon Trulson <jon@radscan.com>
Mon, 24 Sep 2012 01:45:56 +0000 (19:45 -0600)
commite077181a46a49d7740d741333c5d9b2462903e69
treef8f669f1d260182a7391e482412a1d46f3203e74
parentd089ff759975de5c68d7f1746550c6f00b6959e0
dtpad: Use XtArgVal for int conversion

Avoid overwrite of local variables when using
short (int, etc.) types with XtVaGetValues().

Cast XtPointer using (XtArgVal) without
the need to use C99 <stdint.h> and friends.
cde/programs/dtpad/main.c
cde/programs/dtpad/printJob.c
cde/programs/dtpad/printOutput.c
cde/programs/dtpad/printSetup.c