From: <ro...@us...> - 2007-12-21 20:15:46
|
Revision: 1449 http://nsclspectcl.svn.sourceforge.net/nsclspectcl/?rev=1449&view=rev Author: ron-fox Date: 2007-12-21 12:15:51 -0800 (Fri, 21 Dec 2007) Log Message: ----------- Fix potential 64 bit casting issue Modified Paths: -------------- trunk/SpecTcl/Display/copyatr.cc Modified: trunk/SpecTcl/Display/copyatr.cc =================================================================== --- trunk/SpecTcl/Display/copyatr.cc 2007-12-21 17:33:17 UTC (rev 1448) +++ trunk/SpecTcl/Display/copyatr.cc 2007-12-21 20:15:51 UTC (rev 1449) @@ -1465,9 +1465,9 @@ void AttributeCopyDialog::OkPressed(XMWidget *buton, XtPointer user_d, XtPointer call_d) { - int dmis = (int)user_d; - Boolean dismiss = (Boolean)dmis; + Boolean dismiss = (Boolean)(user_d != (XtPointer)0); + /* Perform the copy operation. */ CopyAttributes(WorkAreaContents); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |