Assign proper type to msg[] in errstr()

Obviously, the array ought to be of type char.

Closes Issue #856
This commit is contained in:
Joerg Wunsch 2022-01-29 23:32:39 +01:00
parent 4ff72ac462
commit b84e6862a7
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ static libusb_context *ctx = NULL;
static const char *errstr(int result)
{
static msg[30];
static char msg[30];
int n = 0;
switch (result) {