[Bug 57371] filebuffer.cpp eqSign.m_idx-1 FileBuffer::getValues QChar effectOperator
Andreas Koepfle
koepfle at ti.uni-mannheim.de
Tue Sep 30 04:42:04 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=57371
koepfle at ti.uni-mannheim.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From koepfle at ti.uni-mannheim.de 2003-09-30 04:41 -------
Subject: kdevelop/parts/trollproject
CVS commit by koepfle:
fix BR 57371: distinguish between long and int for 64bit machines
(however I doubt that this is the only place where kdevelop fails on 64bit
- and I don't have a 64bit machine around for tests)
CCMAIL: 57371-done at bugs.kde.org
M +2 -2 caret.h 1.7
M +4 -4 filebuffer.cpp 1.30
--- kdevelop/parts/trollproject/caret.h #1.6:1.7
@@ -17,6 +17,6 @@ class Caret
{
public:
- long m_row;
- long m_idx;
+ int m_row;
+ int m_idx;
Caret();
Caret(const int row, const int idx);
--- kdevelop/parts/trollproject/filebuffer.cpp #1.29:1.30
@@ -217,5 +217,5 @@ bool FileBuffer::getValues(const QString
else
valueString = valueString + " ";
- long lineNum=eqSign.m_row;
+ int lineNum=eqSign.m_row;
line = line.mid(eqSign.m_idx+1,line.length()-eqSign.m_idx);
while (line!="")
@@ -266,5 +266,5 @@ bool FileBuffer::getValues(const QString
QString line=m_buffer[eqSign.m_row];
QChar effectOperator = line[eqSign.m_idx-1];
- long lineNum=eqSign.m_row;
+ int lineNum=eqSign.m_row;
curValues.clear();
curValuesIgnore.clear();
@@ -353,5 +353,5 @@ void FileBuffer::getVariableValueSetMode
QString line=m_buffer[eqSign.m_row];
QChar effectOperator = line[eqSign.m_idx-1];
- long lineNum=eqSign.m_row;
+ int lineNum=eqSign.m_row;
line = line.mid(eqSign.m_idx+1,line.length()-eqSign.m_idx);
while (!line.isEmpty())
@@ -555,5 +555,5 @@ QStringList FileBuffer::popBlock(const C
{
QStringList result = copyBlock(blockStart,blockEnd);
- long poprow;
+ int poprow;
if (blockStart.m_idx==0)
{
More information about the KDevelop-devel
mailing list