diff options
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; |