On 64-bit machine dtfile crashes when opening
list of file types to filter in Encaps.c:

   _DtShowDialog (parent=0x805c80900, map_parent=0x0, top_rec=0x805ce3600,
     dialog_data=0x805db25e0, change_proc=0x4489f0 <FilterChange+16>,
     change_data=0x805ce3600, close_proc=0x4489c0 <FilterClose+16>,
     close_data=0x805ce3600, workspaces=0x0, iconify_state=0 '\0',
     ignoreCache=0 '\0', title=0x0, classHints=0x0) at Encaps.c:531

531             ResetFlag(NULL,fr->close);
---
 cde/programs/dtfile/FileDialog.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cde/programs/dtfile/FileDialog.c b/cde/programs/dtfile/FileDialog.c
index 6795f77..406afc1 100644
--- a/cde/programs/dtfile/FileDialog.c
+++ b/cde/programs/dtfile/FileDialog.c
@@ -2878,9 +2878,11 @@ ResetFlag(
    Widget w)
 {
    Arg args[2];
+   XtArgVal flag0;
    int flag;
-   XtSetArg (args[0], XmNuserData, &flag);
+   XtSetArg (args[0], XmNuserData, &flag0);
    XtGetValues(w,args,1);
+   flag = (int)flag0;
    if(flag != FLAG_SET)
       return;
    flag = FLAG_RESET;
-- 
1.7.11.5


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to