* dfp.c (dfp_byte_swap): Use uint32_t and not unsigned long.
From-SVN: r110184
This commit is contained in:
parent
8827ffce99
commit
7af1a0358e
@ -1,3 +1,7 @@
|
||||
2006-01-25 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* dfp.c (dfp_byte_swap): Use uint32_t and not unsigned long.
|
||||
|
||||
2006-01-24 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR tree-opt/25860
|
||||
@ -1634,10 +1638,10 @@
|
||||
|
||||
2006-01-16 Rafael Ãvila de EspÃndola <rafael.espindola@gmail.com>
|
||||
|
||||
* cppspec.c (lang_specific_spec_functions): remove
|
||||
* gcc.c (lookup_spec_function): use static_spec_functions directelly
|
||||
* gcc.h (lang_specific_spec_functions): remove
|
||||
* gccspec.c (lang_specific_spec_functions): remove
|
||||
* cppspec.c (lang_specific_spec_functions): Remove.
|
||||
* gcc.c (lookup_spec_function): Use static_spec_functions directly.
|
||||
* gcc.h (lang_specific_spec_functions): Remove.
|
||||
* gccspec.c (lang_specific_spec_functions): Remove.
|
||||
|
||||
2005-01-16 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user