diff options
Diffstat (limited to 'packages/qte/qte-2.3.12/fix-qgfxraster.patch')
-rw-r--r-- | packages/qte/qte-2.3.12/fix-qgfxraster.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/packages/qte/qte-2.3.12/fix-qgfxraster.patch b/packages/qte/qte-2.3.12/fix-qgfxraster.patch deleted file mode 100644 index 26bbe1e957..0000000000 --- a/packages/qte/qte-2.3.12/fix-qgfxraster.patch +++ /dev/null @@ -1,30 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - -Index: qt-2.3.10-snapshot-20060120/src/kernel/qgfxraster_qws.cpp -=================================================================== ---- qt-2.3.10-snapshot-20060120.orig/src/kernel/qgfxraster_qws.cpp 2006-01-20 01:08:03.000000000 +0100 -+++ qt-2.3.10-snapshot-20060120/src/kernel/qgfxraster_qws.cpp 2006-01-20 20:50:26.577740040 +0100 -@@ -4076,13 +4076,14 @@ - for( loopc2=0;loopc2<frontadd;loopc2++ ) - *(alphaptr++)=get_value_32(16,(unsigned char **)&temppos); - -- PackType temp2; -- unsigned char * cp; -+ volatile PackType temp2; -+ volatile unsigned short int * cp; - for( loopc2=0;loopc2<count;loopc2++ ) { -- temp2=*((PackType *)temppos); -- cp=(unsigned char *)&temp2; -- *(alphaptr++)=get_value_32(16,&cp); -- *(alphaptr++)=get_value_32(16,&cp); -+ temp2=*reinterpret_cast<PackType *>(temppos); -+ cp=reinterpret_cast<volatile unsigned short int *>(&temp2); -+ *(alphaptr++)=qt_conv16ToRgb(*cp); -+ cp++; -+ *(alphaptr++)=qt_conv16ToRgb(*cp); - temppos += 2; - } - |