From 40580e2d71ac56131a5da7e5f67a0b63450e4f24 Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 19 Apr 2009 20:51:16 +0000 Subject: Zach Welch fix -Werror warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1472 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/pld/virtex2.c | 2 +- src/pld/xilinx_bit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pld') 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; -- cgit v1.2.3