diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-06-27 13:40:34 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-06-27 13:40:34 -0600 |
commit | b95946d5694391b021244adc495705f809ad3593 (patch) | |
tree | 8b861a60bf1ab001c00bfafa35a4174011b46ade /alpine | |
parent | 529d58309bc7ec042b668a90817eabe4522507e0 (diff) | |
download | alpine-b95946d5694391b021244adc495705f809ad3593.tar.xz |
* Fix for a compilation issue in Visual Studio, which prefers
memset ((void *) (x + len),...) to memset ((void *) x + len,...).
Diffstat (limited to 'alpine')
-rw-r--r-- | alpine/xoauth2conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/xoauth2conf.c b/alpine/xoauth2conf.c index 9a6b246..f21697c 100644 --- a/alpine/xoauth2conf.c +++ b/alpine/xoauth2conf.c @@ -593,7 +593,7 @@ write_xoauth_conf_entry(XOAUTH2_INFO_S *x, XOAUTH2_INFO_S *y, CONF_S **cl, CONF_ sprintf(tmp2, "%d", key); fs_resize((void **) varlistp, (p + i + 1)*sizeof(struct variable **)); - memset((void *) *varlistp + p*sizeof(struct variable *), 0, (i + 1)*sizeof(struct variable *)); + memset((void *) (*varlistp + p*sizeof(struct variable *)), 0, (i + 1)*sizeof(struct variable *)); varlist = *varlistp; new_confline(cl)->var = NULL; |