Skip to content

Commit

Permalink
fixed gcc 10.1.0 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ZerBea committed May 14, 2020
1 parent 077ae26 commit 0bdbeda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hcxmactool.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ while(1)
{
continue;
}
strncpy(zeiger->vendor, vendorname, OUI_LINE_LEN);
strncpy(zeiger->vendor, vendorname, OUI_LINE_LEN -1);
ouicount++;
zeiger++;
}
Expand Down
2 changes: 1 addition & 1 deletion wlancap2wpasec.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ int main(int argc, char *argv[])
struct stat statinfo;
int auswahl;
int index;
char keyheader[4+32+1] = {0};
char keyheader[4+32+1+2] = {0};
char *emailaddr = NULL;
long int timeout = 30;
uploadcountok = 0;
Expand Down

0 comments on commit 0bdbeda

Please sign in to comment.