diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 20:51:16 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 20:51:16 +0000 |
commit | 40580e2d71ac56131a5da7e5f67a0b63450e4f24 (patch) | |
tree | e35583cefe3a40bfdc0cd2456565f273369b4a3f /src/pld | |
parent | 7989000e0969c1ccf69acbc3ce649a020bc1ee66 (diff) |
Zach Welch <zw@superlucidity.net> fix -Werror warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1472 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/pld')
-rw-r--r-- | src/pld/virtex2.c | 2 | ||||
-rw-r--r-- | src/pld/xilinx_bit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 6cce1997..7be68037 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -161,7 +161,7 @@ int virtex2_load(struct pld_device_s *pld_device, char *filename) virtex2_pld_device_t *virtex2_info = pld_device->driver_priv; xilinx_bit_file_t bit_file; int retval; - int i; + unsigned int i; scan_field_t field; diff --git a/src/pld/xilinx_bit.c b/src/pld/xilinx_bit.c index c8c825dd..8dd2ee46 100644 --- a/src/pld/xilinx_bit.c +++ b/src/pld/xilinx_bit.c @@ -40,7 +40,7 @@ int read_section(FILE *input_file, int length_size, char section, u32 *buffer_length, u8 **buffer) { u8 length_buffer[4]; - u32 length; + int length; char section_char; int read_count; |