dtmail: Fix XtVaGetValues() return value storage

At least one crash was caused by this
on the 64-bit system
This commit is contained in:
Marcin Cieslak
2012-09-24 13:36:14 +02:00
committed by Jon Trulson
parent 3a246dfb9b
commit 91bfe1e4dc
8 changed files with 48 additions and 33 deletions

View File

@@ -347,7 +347,7 @@ int
SelectFileCmd::getHidden()
{
int val;
unsigned char current_state;
XtArgVal current_state;
if (NULL == _fileBrowser || NULL == _hidden_button)
return 0;
@@ -388,8 +388,8 @@ SelectFileCmd::setSelected(char *path)
void
SelectFileCmd::setHidden(int on)
{
unsigned char current_state;
unsigned char desired_state;
XtArgVal current_state;
XtArgVal desired_state;
if (NULL == _fileBrowser || NULL == _hidden_button)
return;