blob: 0f4cfa9565f4c7c93233d45af0043ae1e373f5e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- js/src/jstypedarray.cpp.orig 2012-11-08 16:22:50.000000000 +0000
+++ js/src/jstypedarray.cpp 2012-11-08 16:23:25.000000000 +0000
@@ -454,7 +454,7 @@
inline operator uint8() const {
return val;
}
-};
+} __attribute__((packed));
/* Make sure the compiler isn't doing some funky stuff */
JS_STATIC_ASSERT(sizeof(uint8_clamped) == 1);
|