From b95946d5694391b021244adc495705f809ad3593 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 27 Jun 2020 13:40:34 -0600 Subject: * Fix for a compilation issue in Visual Studio, which prefers memset ((void *) (x + len),...) to memset ((void *) x + len,...). --- alpine/xoauth2conf.c | 2 +- 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 ================= -- cgit v1.2.3-70-g09d2