traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src core/AudioClipGroup.cpp core/ReadS...


From: Nicola Doebelin
Subject: [Traverso-commit] traverso/src core/AudioClipGroup.cpp core/ReadS...
Date: Wed, 06 Aug 2008 13:54:32 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Nicola Doebelin <n_doebelin>    08/08/06 13:54:32

Modified files:
        src/core       : AudioClipGroup.cpp ReadSource.cpp Track.cpp 
        src/traverso   : Main.cpp 

Log message:
        Makes the code fit for gcc 4.3.1

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/AudioClipGroup.cpp?cvsroot=traverso&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/ReadSource.cpp?cvsroot=traverso&r1=1.97&r2=1.98
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Track.cpp?cvsroot=traverso&r1=1.77&r2=1.78
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/Main.cpp?cvsroot=traverso&r1=1.10&r2=1.11

Patches:
Index: core/AudioClipGroup.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/AudioClipGroup.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- core/AudioClipGroup.cpp     18 Feb 2008 19:49:59 -0000      1.7
+++ core/AudioClipGroup.cpp     6 Aug 2008 13:54:32 -0000       1.8
@@ -27,6 +27,7 @@
 #include "ResourcesManager.h"
 #include "Sheet.h"
 #include "Track.h"
+#include <limits.h>
 
 #include "Debugger.h"
 
@@ -74,7 +75,7 @@
                return;
        }
                
-       m_trackStartLocation = LONG_LONG_MAX;
+       m_trackStartLocation = LLONG_MAX;
        m_trackEndLocation = TimeRef();
        
        m_topTrackIndex = INT_MAX;

Index: core/ReadSource.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/ReadSource.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -b -r1.97 -r1.98
--- core/ReadSource.cpp 21 Feb 2008 20:00:48 -0000      1.97
+++ core/ReadSource.cpp 6 Aug 2008 13:54:32 -0000       1.98
@@ -31,6 +31,7 @@
 #include "AudioDevice.h"
 #include <QFile>
 #include "Config.h"
+#include <limits.h>
 
 // Always put me below _all_ includes, this is needed
 // in case we run with memory leak detection enabled!
@@ -203,7 +204,7 @@
        }
        
        if (m_silent) {
-               m_length = TimeRef(LONG_LONG_MAX);
+               m_length = TimeRef(LLONG_MAX);
                m_channelCount = 0;
                m_origBitDepth = 16;
                m_bufferstatus->fillStatus =  100;

Index: core/Track.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Track.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- core/Track.cpp      21 Jan 2008 16:22:15 -0000      1.77
+++ core/Track.cpp      6 Aug 2008 13:54:32 -0000       1.78
@@ -33,7 +33,7 @@
 #include "ResourcesManager.h"
 #include "Project.h"
 #include "Utils.h"
-
+#include <limits.h>
 #include <commands.h>
 
 // Always put me below _all_ includes, this is needed
@@ -504,7 +504,7 @@
                return;
                
        endlocation = TimeRef();
-       startlocation = LONG_LONG_MAX;
+       startlocation = LLONG_MAX;
        
        apill_foreach(AudioClip* clip, AudioClip, m_clips) {
                if (! clip->is_muted() ) {

Index: traverso/Main.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/traverso/Main.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- traverso/Main.cpp   22 Nov 2007 14:45:14 -0000      1.10
+++ traverso/Main.cpp   6 Aug 2008 13:54:32 -0000       1.11
@@ -20,6 +20,7 @@
 */
 
 #include <signal.h>
+#include <stdlib.h>
 
 #include <QLocale>
 #include <QTranslator>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]