summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorToby Goodwin <tgoodwin@cygnus.co.uk>1997-07-07 00:00:01 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:59 +0100
commitb87bfedf65c289bf0ee5338c9e10492b70b1e8e0 (patch)
tree906ba5d55d6993f59d7bb1def63d494bafd38728 /hash.c
parent5556dde4d3ad4e34267320b1411fc090b18a24b0 (diff)
beta: rc-1.5b2
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 2c8acd5..9f75b6c 100644
--- a/hash.c
+++ b/hash.c
@@ -275,7 +275,7 @@ extern char **makeenv() {
env[ep++] = fnlookup_string(fp[i].name);
}
env[ep] = NULL;
- qsort(env, (SIZE_T) ep, sizeof(char *), starstrcmp);
+ qsort(env, (size_t) ep, sizeof(char *), starstrcmp);
return env;
}
@@ -294,7 +294,7 @@ extern void whatare_all_vars(bool showfn, bool showvar) {
/* fake getenv() for readline() follows: */
-#ifdef READLINE
+#if READLINE
extern char *getenv(const char *name) {
List *s;
if (name == NULL || vp == NULL || (s = varlookup((char *) name)) == NULL)