summaryrefslogtreecommitdiffstats
path: root/fastboot/usbtest.c
diff options
context:
space:
mode:
authorSasha Levitskiy <sanek@google.com>2014-05-05 19:43:15 -0700
committerSasha Levitskiy <sanek@google.com>2014-05-07 11:43:12 -0700
commit782111b3bc5d372afc8d66ab6023e834b7c23b88 (patch)
tree77d74cb55bd721c14b9968ffe52aa6c52fff632c /fastboot/usbtest.c
parent7112e4c7cb9168ddaee418c4ed4b0c54b475f99e (diff)
downloadsystem_core-782111b3bc5d372afc8d66ab6023e834b7c23b88.tar.gz
system_core-782111b3bc5d372afc8d66ab6023e834b7c23b88.tar.bz2
system_core-782111b3bc5d372afc8d66ab6023e834b7c23b88.zip
System: Fastboot: warning fixit, misc bugs and cleanup.
Change-Id: Ib8517a852977962de3f05c879ba7dce89bcef644 Signed-off-by: Sasha Levitskiy <sanek@google.com>
Diffstat (limited to 'fastboot/usbtest.c')
-rw-r--r--fastboot/usbtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fastboot/usbtest.c b/fastboot/usbtest.c
index b8fb9e220..488db06d3 100644
--- a/fastboot/usbtest.c
+++ b/fastboot/usbtest.c
@@ -35,8 +35,8 @@
#include "usb.h"
-static unsigned arg_size = 4096;
-static unsigned arg_count = 4096;
+static int arg_size = 4096;
+static int arg_count = 4096;
long long NOW(void)
{
@@ -134,7 +134,7 @@ struct
{ "send", match_null, test_null, "send to null interface" },
{ "recv", match_zero, test_zero, "recv from zero interface" },
{ "loop", match_loop, 0, "exercise loopback interface" },
- {},
+ { NULL, NULL, NULL, NULL },
};
int usage(void)