summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-11-22 22:28:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-11-22 22:28:17 +0000
commitc80a150065d8ea3a8bcf41b1fab26f4a35b84742 (patch)
tree5a0f57087936281e59bbe3e2d9e79276f6d41444 /sys/dev/usb
parent4ff5a32df798750b0fea1d8a1c0a23627b103186 (diff)
use a size_t here
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_atu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/if_atu.c b/sys/dev/usb/if_atu.c
index 161e1a9d797..74d867def85 100644
--- a/sys/dev/usb/if_atu.c
+++ b/sys/dev/usb/if_atu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atu.c,v 1.23 2004/11/22 13:41:13 dlg Exp $ */
+/* $OpenBSD: if_atu.c,v 1.24 2004/11/22 22:28:16 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004
* Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved.
@@ -960,7 +960,8 @@ int
atu_upload_internal_firmware(struct atu_softc *sc)
{
u_char state, *ptr = NULL, *firm = NULL, status[6];
- int bytes_left = 0, block_size, block = 0, err;
+ int block_size, block = 0, err;
+ size_t bytes_left = 0;
char *name = NULL;
/*