summaryrefslogtreecommitdiffstats
path: root/tools/dfutool.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
commit1f422e5f2b343d35a8c77ce4be16f74b2819b2bf (patch)
treee24bdebe86afcff3ce29cc0f47f05caec7ab7bc0 /tools/dfutool.c
parent952e7cc56afa29f77a828aa256985ba38a06fa80 (diff)
Fix some GCC 4.0 warnings
Diffstat (limited to 'tools/dfutool.c')
-rw-r--r--tools/dfutool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dfutool.c b/tools/dfutool.c
index 47510cef..06da5248 100644
--- a/tools/dfutool.c
+++ b/tools/dfutool.c
@@ -400,7 +400,7 @@ static void cmd_upgrade(char *device, int argc, char **argv)
struct dfu_status status;
struct dfu_suffix suffix;
struct stat st;
- unsigned char *buf;
+ char *buf;
unsigned long filesize, count, timeout = 0;
char *filename;
uint32_t crc;
@@ -568,7 +568,7 @@ static void cmd_archive(char *device, int argc, char **argv)
struct usb_dev_handle *udev;
struct dfu_status status;
struct dfu_suffix suffix;
- unsigned char buf[2048];
+ char buf[2048];
unsigned long timeout = 0;
char *filename;
uint32_t crc;