Skip to content
Snippets Groups Projects
Commit 8864adc7 authored by rswindell's avatar rswindell
Browse files

Added additional parens to ZERO_VAR macro (just in case).

parent b2c4468c
Branches
Tags
No related merge requests found
......@@ -218,7 +218,7 @@ typedef struct {
#define FIND_HEXDIGIT(p) while(*(p) && !isxdigit(*(p))) (p)++;
/* Variable/buffer initialization (with zeros) */
#define ZERO_VAR(var) memset(&var,0,sizeof(var))
#define ZERO_VAR(var) memset(&(var),0,sizeof(var))
#define ZERO_ARRAY(array) memset(array,0,sizeof(array))
/****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment