projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: math-emu: Hide clang warnings for 16-bit overflow
[linux-2.6-microblaze.git]
/
arch
/
x86
/
math-emu
/
reg_constant.c
diff --git
a/arch/x86/math-emu/reg_constant.c
b/arch/x86/math-emu/reg_constant.c
index
8dc9095
..
742619e
100644
(file)
--- a/
arch/x86/math-emu/reg_constant.c
+++ b/
arch/x86/math-emu/reg_constant.c
@@
-18,7
+18,7
@@
#include "control_w.h"
#define MAKE_REG(s, e, l, h) { l, h, \
- ((EXTENDED_Ebias+(e)) | ((SIGN_##s != 0)*0x8000)) }
+ (
u16)(
(EXTENDED_Ebias+(e)) | ((SIGN_##s != 0)*0x8000)) }
FPU_REG const CONST_1 = MAKE_REG(POS, 0, 0x00000000, 0x80000000);
#if 0