diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-24 22:56:55 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-24 22:56:55 +0000 |
commit | eaf00f5717c138e8e75fc3265b79295208ab5b94 (patch) | |
tree | 576d8b13507040ff2fe94e6f94143cfb036b9208 /gcc/dfp.c | |
parent | 8c788ba31eec3090bb4a5d457d88c76553641ac2 (diff) | |
download | gcc-eaf00f5717c138e8e75fc3265b79295208ab5b94.tar.gz |
* dfp.c (dfp_byte_swap): Use uint32_t and not unsigned long.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110184 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dfp.c')
-rw-r--r-- | gcc/dfp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dfp.c b/gcc/dfp.c index 55c6f2de4f5..804f2031ca1 100644 --- a/gcc/dfp.c +++ b/gcc/dfp.c @@ -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; |