mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-10-08 19:53:07 +00:00
Merge pull request #857 from dl8dtl/fix-856
Assign proper type to msg[] in errstr()
This commit is contained in:
@@ -68,7 +68,7 @@ static libusb_context *ctx = NULL;
|
|||||||
|
|
||||||
static const char *errstr(int result)
|
static const char *errstr(int result)
|
||||||
{
|
{
|
||||||
static msg[30];
|
static char msg[30];
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
|
||||||
switch (result) {
|
switch (result) {
|
||||||
|
Reference in New Issue
Block a user