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 | |
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,...).
-rw-r--r-- | alpine/xoauth2conf.c | 2 | ||||
-rw-r--r-- | pith/pine.hlp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/alpine/xoauth2conf.c b/alpine/xoauth2conf.c index 9a6b246a..f21697c2 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; diff --git a/pith/pine.hlp b/pith/pine.hlp index f7442139..d15df5ce 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 459 2020-06-27 13:36:43 +Alpine Commit 460 2020-06-27 13:39:56 ============= h_news ================= <HTML> <HEAD> |