Update of /cvsroot/audacity/audacity-src/src/effects
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26166

Modified Files:
        Effect.cpp 
Log Message:

Fix 64-bit build issue.


Index: Effect.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/Effect.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- Effect.cpp  24 Jun 2009 23:55:41 -0000      1.80
+++ Effect.cpp  28 Jun 2009 17:46:55 -0000      1.81
@@ -40,7 +40,8 @@
 #include "../widgets/ProgressDialog.h"
 #include "../ondemand/ODManager.h"
 
-WX_DECLARE_HASH_MAP( int, int, wxIntegerHash, wxIntegerEqual, t2bHash );
+WX_DECLARE_VOIDPTR_HASH_MAP( bool, t2bHash );
+
 //
 // public static methods
 //
@@ -214,8 +215,8 @@
          //go to the project tracks and add all the tracks in the same group
          for( ; gTrack; gTrack = gIt.Next() ) {
             // only add if the track was not added before
-            if (added.find((int)gTrack) == added.end()) {
-               added[(int)gTrack]=true;
+            if (added.find(gTrack) == added.end()) {
+               added[gTrack]=true;
                Track *o = gTrack->Duplicate();
                mOutputTracks->Add(o);
                mIMap.Add(gTrack);


------------------------------------------------------------------------------
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to