summaryrefslogtreecommitdiff
path: root/packages/konqueror/konqueror-embedded-20030705/packing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/konqueror/konqueror-embedded-20030705/packing.patch')
-rw-r--r--packages/konqueror/konqueror-embedded-20030705/packing.patch14
1 files changed, 9 insertions, 5 deletions
diff --git a/packages/konqueror/konqueror-embedded-20030705/packing.patch b/packages/konqueror/konqueror-embedded-20030705/packing.patch
index 37a3754854..be3f362c03 100644
--- a/packages/konqueror/konqueror-embedded-20030705/packing.patch
+++ b/packages/konqueror/konqueror-embedded-20030705/packing.patch
@@ -1,17 +1,21 @@
-diff -ur konqe.old/konq-embed/kdesrc/kjs/ustring.h konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h
---- konqe.old/konq-embed/kdesrc/kjs/ustring.h 2001-07-28 17:32:15.000000000 +0200
-+++ konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h 2004-08-22 21:30:04.000000000 +0200
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h~packing.patch
++++ konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h
@@ -154,11 +154,11 @@
/**
* @return Lower byte.
*/
- unsigned char& low() const { return ref().lo; }
-+ unsigned char& low() const { return *(&ref().lo); }
++ unsigned char& low() const { return *((unsigned char*)&ref().lo); }
/**
* @return Higher byte.
*/
- unsigned char& high() const { return ref().hi; }
-+ unsigned char& high() const { return *(&ref().hi); }
++ unsigned char& high() const { return *((unsigned char*)&ref().hi); }
/**
* @return Character converted to lower case.
*/