summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Hopf <mat@mshopf.de>2006-05-22 17:00:40 +0000
committerMatthias Hopf <mat@mshopf.de>2006-05-22 17:00:40 +0000
commitd0e011c74faafd5ae9c64ea5dddf69aaa8ddab88 (patch)
tree474c8492b5c7f4e066735623c190731e2ea58b29 /src
parente25e5998d1e8a3ffb3417a0effe1b7ce5999bbb5 (diff)
downloadxine-lib-d0e011c74faafd5ae9c64ea5dddf69aaa8ddab88.tar.gz
xine-lib-d0e011c74faafd5ae9c64ea5dddf69aaa8ddab88.tar.bz2
Fixed unaligned access on IA64 (Andreas Schwab).
CVS patchset: 7994 CVS date: 2006/05/22 17:00:40
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/input_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/input_cache.c b/src/xine-engine/input_cache.c
index 0b61c6c44..465203ccb 100644
--- a/src/xine-engine/input_cache.c
+++ b/src/xine-engine/input_cache.c
@@ -22,7 +22,7 @@
* The goal of this input plugin is to reduce
* the number of calls to the real input plugin.
*
- * $Id: input_cache.c,v 1.9 2005/11/28 12:25:21 valtri Exp $
+ * $Id: input_cache.c,v 1.10 2006/05/22 17:00:40 mshopf Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -73,7 +73,7 @@ static off_t cache_plugin_read(input_plugin_t *this_gen, char *buf, off_t len) {
if (len <= (this->buf_len - this->buf_pos)) {
/* all bytes are in the buffer */
switch (len) {
-#if !(defined(sparc) || defined(__sparc__))
+#if !(defined(sparc) || defined(__sparc__) || defined __ia64__)
case 8:
*((uint64_t *)buf) = *(uint64_t *)(&(this->buf[this->buf_pos]));
break;