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.
This commit is contained in:
Marcin Cieslak
2012-09-24 03:15:20 +02:00
committed by Jon Trulson
parent d089ff7599
commit e077181a46
4 changed files with 23 additions and 12 deletions

View File

@@ -614,7 +614,7 @@ _psSetupToUi(PrintSetup *pSetup)
static void
_psUiToSetup(PrintSetup *pSetup)
{
unsigned char isSet;
XtArgVal isSet;
Widget frame, w;
PrintOptions *pOption;
char *marginSpec;