Merge pull request #857 from dl8dtl/fix-856

Assign proper type to msg[] in errstr()
This commit is contained in:
Jörg Wunsch 2022-01-30 10:41:53 +01:00 committed by GitHub
commit 69177dfe3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {