forked from Imagelibrary/binutils-gdb
sim: erc32: fix signedness compatibility and redefinition warnings
This commit is contained in:
committed by
Mike Frysinger
parent
65dcce8f79
commit
4ab6404b1c
@@ -139,7 +139,7 @@ set_regi(struct pstate *sregs, int32 reg, uint32 rval)
|
||||
}
|
||||
|
||||
void
|
||||
get_regi(struct pstate * sregs, int32 reg, char *buf)
|
||||
get_regi(struct pstate * sregs, int32 reg, unsigned char *buf)
|
||||
{
|
||||
uint32 cwp;
|
||||
uint32 rval = 0;
|
||||
@@ -996,7 +996,9 @@ sys_halt(void)
|
||||
#include "libiberty.h"
|
||||
#include "bfd.h"
|
||||
|
||||
#ifndef min
|
||||
#define min(A, B) (((A) < (B)) ? (A) : (B))
|
||||
#endif
|
||||
#define LOAD_ADDRESS 0
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user