From 94cc6656cd266c2f0d8eb5bc1201fa091744c46c Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Fri, 11 May 2012 19:26:26 -0400 Subject: [PATCH] libupkg: Fix minor type error in decodeindex test. sopts is a string, so it should be a char[] rather than unsigned char[]. --- test/decodeindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/decodeindex.c b/test/decodeindex.c index d3f099a..415fa79 100644 --- a/test/decodeindex.c +++ b/test/decodeindex.c @@ -26,7 +26,7 @@ #define PROGNAME "decodeindex" static const char *progname = PROGNAME; -static const unsigned char sopts[] = "VH"; +static const char sopts[] = "VH"; static const struct option lopts[] = { { "version", 0, NULL, 'V' }, { "help", 0, NULL, 'H' }, -- 2.43.2