summaryrefslogtreecommitdiffstats
path: root/extra
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 /extra
parent952e7cc56afa29f77a828aa256985ba38a06fa80 (diff)
Fix some GCC 4.0 warnings
Diffstat (limited to 'extra')
-rw-r--r--extra/bcm203x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/bcm203x.c b/extra/bcm203x.c
index 1aa9257b..5990ae8c 100644
--- a/extra/bcm203x.c
+++ b/extra/bcm203x.c
@@ -58,7 +58,7 @@ static char *fw_path = "/lib/firmware";
static int load_file(struct usb_dev_handle *udev, char *filename)
{
- unsigned char buf[4096];
+ char buf[4096];
int fd, err, len;
fd = open(filename, O_RDONLY);
@@ -100,7 +100,7 @@ static void load_firmware(struct usb_device *dev)
{
struct usb_dev_handle *udev;
char filename[PATH_MAX + 1];
- unsigned char buf[16];
+ char buf[16];
udev = usb_open(dev);
if (!udev) {