summaryrefslogtreecommitdiffstats
path: root/k9decmpeg/mmx.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-02-07 16:17:36 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-02-07 16:28:21 +0100
commitb57505471b3fd24c608d4adf781d6d861157ed2e (patch)
treec4b6676e8236e20d5197b3637ec16cb109e53089 /k9decmpeg/mmx.h
parentb9a0a136d6f66a61a378ab633eea89fd617a8458 (diff)
downloadk9copy-r14.0.12.tar.gz
k9copy-r14.0.12.zip
Fix FTBFS due to narrowing conversions in x86 mmx code.r14.0.12
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 505c55b2e1251c867bc0f9d6ab17f876c1ee9b7a)
Diffstat (limited to 'k9decmpeg/mmx.h')
-rw-r--r--k9decmpeg/mmx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/k9decmpeg/mmx.h b/k9decmpeg/mmx.h
index 01943de..858119a 100644
--- a/k9decmpeg/mmx.h
+++ b/k9decmpeg/mmx.h
@@ -31,14 +31,14 @@
#define MMX_H
typedef union {
- long long q; /* Quadword (64-bit) value */
unsigned long long uq; /* Unsigned Quadword */
- int d[2]; /* 2 Doubleword (32-bit) values */
+ long long q; /* Quadword (64-bit) value */
unsigned int ud[2]; /* 2 Unsigned Doubleword */
- short w[4]; /* 4 Word (16-bit) values */
+ int d[2]; /* 2 Doubleword (32-bit) values */
unsigned short uw[4]; /* 4 Unsigned Word */
- char b[8]; /* 8 Byte (8-bit) values */
+ short w[4]; /* 4 Word (16-bit) values */
unsigned char ub[8]; /* 8 Unsigned Byte */
+ char b[8]; /* 8 Byte (8-bit) values */
float s[2]; /* Single-precision (32-bit) value */
} ATTR_ALIGN(8) mmx_t; /* On an 8-byte (64-bit) boundary */