summaryrefslogtreecommitdiff
path: root/recipes/konqueror/konqueror-embedded-20030705/packing.patch
blob: be3f362c03dd1550060c17f45e046dd73c9971a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#
# 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 *((unsigned char*)&ref().lo); }
     /**
      * @return Higher byte.
      */
-    unsigned char& high() const { return ref().hi; }
+    unsigned char& high() const { return *((unsigned char*)&ref().hi); }
     /**
      * @return Character converted to lower case.
      */