summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-06-27 13:40:34 -0600
committerEduardo Chappa <chappa@washington.edu>2020-06-27 13:40:34 -0600
commitb95946d5694391b021244adc495705f809ad3593 (patch)
tree8b861a60bf1ab001c00bfafa35a4174011b46ade
parent529d58309bc7ec042b668a90817eabe4522507e0 (diff)
downloadalpine-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.c2
-rw-r--r--pith/pine.hlp2
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>