summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex/math/tanhl.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-03-17 01:03:43 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-03-17 01:03:43 +0000
commit48051a71ce6a6c8976267bf95f2b6521cd09fb65 (patch)
tree5787daa4670f7c9a047c4302d36e3d9c05cd572c /winsup/mingw/mingwex/math/tanhl.c
parent9bd09d45f0eac74d364be5ed9aebef0c2ea48fcd (diff)
downloadcygnal-48051a71ce6a6c8976267bf95f2b6521cd09fb65.tar.gz
cygnal-48051a71ce6a6c8976267bf95f2b6521cd09fb65.tar.bz2
cygnal-48051a71ce6a6c8976267bf95f2b6521cd09fb65.zip
Get rid of some warnings
* mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning. * mingwex/strtoimax.c (strtoimax): Likewise. * mingwex/wcstoimax.c (wcstoimax): Likewise. * mingwex/wtoll.c (wtoll): Remove unnecessary ';' * mingwex/fesentenv.c: Include float.h. * mingwex/math/powl.c: Eliminate type punning/strict aliasing warning. * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in constants. * mingwex/math/tgammal.c: Likewise.
Diffstat (limited to 'winsup/mingw/mingwex/math/tanhl.c')
-rw-r--r--winsup/mingw/mingwex/math/tanhl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/mingw/mingwex/math/tanhl.c b/winsup/mingw/mingwex/math/tanhl.c
index 3727b3990..d5d86d0ae 100644
--- a/winsup/mingw/mingwex/math/tanhl.c
+++ b/winsup/mingw/mingwex/math/tanhl.c
@@ -68,13 +68,13 @@ static long double Q[] = {
#endif
#ifdef IBMPC
-static short P[] = {
+static unsigned short P[] = {
0xd2a4,0x1b0c,0x8f15,0x8f99,0xbff1, XPD
0x5959,0x9111,0x9cc7,0xf4e2,0xbffe, XPD
0xb576,0xef5e,0x6d57,0xa81b,0xc005, XPD
0xe3be,0xbfbd,0x5cbc,0xa381,0xc009, XPD
};
-static short Q[] = {
+static unsigned short Q[] = {
/*0x0000,0x0000,0x0000,0x8000,0x3fff,*/
0x687f,0xce24,0xdd6c,0xc084,0x4005, XPD
0x3793,0xc95f,0xfa2f,0xe3b9,0x4009, XPD