+2009-08-05 Tom Tromey <tromey@redhat.com>
+
+ * spu-tdep.h (SPUADDR_SPU): Cast result to int.
+
2009-08-04 Paul Pluzhnikov <ppluzhnikov@google.com>
* objfiles.h (OBJF_KEEPBFD): Delete.
#define SPUADDR(spu, addr) \
((spu) != -1? (ULONGEST)1 << 63 | (ULONGEST)(spu) << 32 | (addr) : (addr))
#define SPUADDR_SPU(addr) \
- (((addr) & (ULONGEST)1 << 63)? (ULONGEST)(addr) >> 32 & 0x7fffffff : -1)
+ (((addr) & (ULONGEST)1 << 63) \
+ ? (int) ((ULONGEST)(addr) >> 32 & 0x7fffffff) \
+ : -1)
#define SPUADDR_ADDR(addr) \
(((addr) & (ULONGEST)1 << 63)? (ULONGEST)(addr) & 0xffffffff : (addr))