mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 14:13:42 -07:00
Fix gcc 7 warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
This commit is contained in:
parent
9e94ce832a
commit
7a9b03cca6
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ int EM4x50Read(const char *Cmd, bool verbose)
|
|||
char tmp2[20];
|
||||
int phaseoff;
|
||||
high = low = 0;
|
||||
memset(tmpbuff, 0, MAX_GRAPH_TRACE_LEN / 64);
|
||||
memset(tmpbuff, 0, sizeof(tmpbuff));
|
||||
|
||||
// get user entry if any
|
||||
sscanf(Cmd, "%i %i", &clk, &invert);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue