dtcalc compiled with clang segfaulted when switched
to a different mode like Deg to Rad or Financial to
Scientific. Was reproducable at least under FreeBSD/AMD64.
Fixed now.
modelineValueChanged(Widget widget, XtPointer client_data, XtPointer call_data)
{
Arg args[1];
- int val, choice;
+ int choice;
+ XtArgVal val;
X->mtype = (enum menu_type) client_data ;
XtSetArg (args[0], XmNuserData, &val);