4dadbcd43c
gcc 4.7.2 stops build when "int c" is declared twice.
15 lines
515 B
C++
15 lines
515 B
C++
$NetBSD: patch-FeLib_Source_bitmap.cc,v 1.1 2012/10/11 11:36:20 marino Exp $
|
|
|
|
Fix "error: reclaration of `int c`" on gcc 4.7.
|
|
|
|
--- FeLib/Source/bitmap.cpp.orig 2004-10-26 19:35:47.000000000 +0000
|
|
+++ FeLib/Source/bitmap.cpp
|
|
@@ -881,7 +881,7 @@ void bitmap::DrawLine(int OrigFromX, int
|
|
const int Y2 = OrigToY + PointY[c];
|
|
const int DeltaX = abs(X2 - X1);
|
|
const int DeltaY = abs(Y2 - Y1);
|
|
- int x, c;
|
|
+ int x;
|
|
int XChange, PtrXChange, PtrYChange;
|
|
int DoubleDeltaX, DoubleDeltaY, End;
|
|
|