diff options
author | Ben Elliston <bje@gcc.gnu.org> | 2006-01-25 09:56:55 +1100 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2006-01-25 09:56:55 +1100 |
commit | 7af1a0358e3d67ede761e29927d006b5aa952abf (patch) | |
tree | 576d8b13507040ff2fe94e6f94143cfb036b9208 /gcc/dfp.c | |
parent | 8827ffce99b4f1ede633ac71a2f4dab7dfcbd828 (diff) | |
download | gcc-7af1a0358e3d67ede761e29927d006b5aa952abf.zip gcc-7af1a0358e3d67ede761e29927d006b5aa952abf.tar.gz gcc-7af1a0358e3d67ede761e29927d006b5aa952abf.tar.bz2 |
* dfp.c (dfp_byte_swap): Use uint32_t and not unsigned long.
From-SVN: r110184
Diffstat (limited to 'gcc/dfp.c')
-rw-r--r-- | gcc/dfp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -36,13 +36,13 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #include "decimal32.h" #include "decNumber.h" -static unsigned long -dfp_byte_swap (unsigned long in) +static uint32_t +dfp_byte_swap (uint32_t in) { - unsigned long out; + uint32_t out = 0; unsigned char *p = (unsigned char *) &out; union { - unsigned long i; + uint32_t i; unsigned char b[4]; } u; |