[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Traverso-commit] traverso/src/commands Crop.cpp Crop.h
From: |
Remon Sijrier |
Subject: |
[Traverso-commit] traverso/src/commands Crop.cpp Crop.h |
Date: |
Mon, 16 Mar 2009 19:52:01 +0000 |
CVSROOT: /sources/traverso
Module name: traverso
Changes by: Remon Sijrier <r_sijrier> 09/03/16 19:52:01
Modified files:
src/commands : Crop.cpp Crop.h
Log message:
* fix integer overflow, using qint64 instead of int
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/commands/Crop.cpp?cvsroot=traverso&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/traverso/src/commands/Crop.h?cvsroot=traverso&r1=1.5&r2=1.6
Patches:
Index: Crop.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/commands/Crop.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- Crop.cpp 11 Mar 2009 20:31:01 -0000 1.4
+++ Crop.cpp 16 Mar 2009 19:52:00 -0000 1.5
@@ -62,7 +62,7 @@
// to be _always_ on top of all the child views of m_cv
m_selection->setZValue(m_cv->zValue() + 20);
x2 = -1;
- x1 = 32768;
+ x1 = LLONG_MAX;
}
Index: Crop.h
===================================================================
RCS file: /sources/traverso/traverso/src/commands/Crop.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- Crop.h 14 Mar 2009 22:31:27 -0000 1.5
+++ Crop.h 16 Mar 2009 19:52:01 -0000 1.6
@@ -57,8 +57,8 @@
AudioClip* leftClip;
AudioClip* rightClip;
QGraphicsRectItem* m_selection;
- int x1;
- int x2;
+ qint64 x1;
+ qint64 x2;
public slots:
void adjust_left(bool autorepeat);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Traverso-commit] traverso/src/commands Crop.cpp Crop.h,
Remon Sijrier <=