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:
committed by
Jon Trulson
parent
d089ff7599
commit
e077181a46
@@ -614,7 +614,7 @@ _psSetupToUi(PrintSetup *pSetup)
|
||||
static void
|
||||
_psUiToSetup(PrintSetup *pSetup)
|
||||
{
|
||||
unsigned char isSet;
|
||||
XtArgVal isSet;
|
||||
Widget frame, w;
|
||||
PrintOptions *pOption;
|
||||
char *marginSpec;
|
||||
|
||||
Reference in New Issue
Block a user