File qtc-0.7a-gcc4.patch of Package qtc

diff -pur qtc-qtsharp-0.7a-8/clib/qtc/qt_QByteArray.cpp qtc-qtsharp/clib/qtc/qt_QByteArray.cpp
--- qtc-qtsharp-0.7a-8/clib/qtc/qt_QByteArray.cpp	2001-11-22 00:26:16.000000000 +0100
+++ qtc-qtsharp/clib/qtc/qt_QByteArray.cpp	2005-05-06 12:52:59.269211815 +0200
@@ -109,11 +109,11 @@ char qt_QByteArray_at( qt_QByteArray* in
 //Iterator* qt_QByteArray_end( qt_QByteArray* instPointer){
 //	return (Iterator*) ((QByteArray*)instPointer)->end();
 //}
-int qt_QByteArray_begin1( qt_QByteArray* instPointer){
-	return (int) ((QByteArray*)instPointer)->begin();
+long qt_QByteArray_begin1( qt_QByteArray* instPointer){
+	return (long) ((QByteArray*)instPointer)->begin();
 }
-int qt_QByteArray_end1( qt_QByteArray* instPointer){
-	return (int) ((QByteArray*)instPointer)->end();
+long qt_QByteArray_end1( qt_QByteArray* instPointer){
+	return (long) ((QByteArray*)instPointer)->end();
 }
 // qt_QByteArray_QArray( qt_QByteArray* instPointer,int arg1, int arg2){
 //	return () ((QByteArray*)instPointer)->protected_QArray((int)arg1, (int)arg2);
diff -pur qtc-qtsharp-0.7a-8/clib/qtc/qt_QByteArray.h qtc-qtsharp/clib/qtc/qt_QByteArray.h
--- qtc-qtsharp-0.7a-8/clib/qtc/qt_QByteArray.h	2003-02-10 01:41:55.000000000 +0100
+++ qtc-qtsharp/clib/qtc/qt_QByteArray.h	2005-05-06 13:09:32.797753019 +0200
@@ -55,8 +55,8 @@ qt_QByteArray* qt_QByteArray_setRawData(
 void qt_QByteArray_resetRawData(qt_QByteArray* instPointer,char* a, unsigned int n);
 void qt_QByteArray_sort(qt_QByteArray* instPointer);
 char qt_QByteArray_at(qt_QByteArray* instPointer,unsigned int i);
-int qt_QByteArray_begin1(qt_QByteArray* instPointer);
-int qt_QByteArray_end1(qt_QByteArray* instPointer);
+long qt_QByteArray_begin1(qt_QByteArray* instPointer);
+long qt_QByteArray_end1(qt_QByteArray* instPointer);
 
 #ifdef __cplusplus
 }
diff -pur qtc-qtsharp-0.7a-8/clib/qtc/qt_QRegion.cpp qtc-qtsharp/clib/qtc/qt_QRegion.cpp
--- qtc-qtsharp-0.7a-8/clib/qtc/qt_QRegion.cpp	2001-11-22 00:26:17.000000000 +0100
+++ qtc-qtsharp/clib/qtc/qt_QRegion.cpp	2005-05-06 13:17:50.410383360 +0200
@@ -94,8 +94,8 @@ void qt_QRegion_setRects( qt_QRegion* in
 void * qt_QRegion_handle( qt_QRegion* instPointer){
 	return (void *) ((QRegionBridge*)instPointer)->handle();
 }
-int qt_QRegion_handle1( qt_QRegion* instPointer){
-	return (int) ((QRegionBridge*)instPointer)->handle();
+long qt_QRegion_handle1( qt_QRegion* instPointer){
+	return (long) ((QRegionBridge*)instPointer)->handle();
 }
 //RgnHandle qt_QRegion_handle2( qt_QRegion* instPointer,int require_rgn){
 //	return (RgnHandle) ((QRegionBridge*)instPointer)->handle((bool)require_rgn);
diff -pur qtc-qtsharp-0.7a-8/clib/qtc/qt_QRegion.h qtc-qtsharp/clib/qtc/qt_QRegion.h
--- qtc-qtsharp-0.7a-8/clib/qtc/qt_QRegion.h	2003-02-10 01:41:56.000000000 +0100
+++ qtc-qtsharp/clib/qtc/qt_QRegion.h	2005-05-06 13:18:20.966570746 +0200
@@ -85,7 +85,7 @@ qt_QRegion * qt_QRegion_eor(qt_QRegion* 
 qt_QRect* qt_QRegion_boundingRect(qt_QRegion* instPointer);
 void qt_QRegion_setRects(qt_QRegion* instPointer,qt_QRect* arg1, int arg2);
 void * qt_QRegion_handle(qt_QRegion* instPointer);
-int qt_QRegion_handle1(qt_QRegion* instPointer);
+long qt_QRegion_handle1(qt_QRegion* instPointer);
 void* qt_QRegion_handle3(qt_QRegion* instPointer);
 
 #ifdef __cplusplus