diff options
author | agc <agc> | 1999-06-30 09:45:26 +0000 |
---|---|---|
committer | agc <agc> | 1999-06-30 09:45:26 +0000 |
commit | e1cffe0a7efb262c403d52dbcced388393cb2386 (patch) | |
tree | f41003240b6ea3832bcec28a20a5af8e1cf9ab91 /databases | |
parent | 5fbf803c15b6dc614c0ef341a12f47edd7ae14f0 (diff) | |
download | pkgsrc-e1cffe0a7efb262c403d52dbcced388393cb2386.tar.gz |
Quieten a warning from the compiler.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sdbm/patches/patch-aa | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/databases/sdbm/patches/patch-aa b/databases/sdbm/patches/patch-aa index 64ee801c3c7..d80042dbaeb 100644 --- a/databases/sdbm/patches/patch-aa +++ b/databases/sdbm/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/01/06 21:53:40 hubertf Exp $ +$NetBSD: patch-aa,v 1.2 1999/06/30 09:45:26 agc Exp $ ---- sdbm.c.orig Wed Jan 6 22:48:06 1999 -+++ sdbm.c Wed Jan 6 22:48:38 1999 +--- sdbm.c.orig Wed Jun 30 10:10:12 1999 ++++ sdbm.c Wed Jun 30 10:21:59 1999 @@ -35,17 +35,6 @@ #endif @@ -20,3 +20,12 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/01/06 21:53:40 hubertf Exp $ * forward */ static int getdbit proto((DBM *, long)); +@@ -95,7 +84,7 @@ + */ + n = strlen(file) * 2 + strlen(DIRFEXT) + strlen(PAGFEXT) + 2; + +- if ((dirname = malloc((unsigned) n)) == NULL) ++ if ((dirname = (char *) malloc((unsigned) n)) == NULL) + return errno = ENOMEM, (DBM *) NULL; + /* + * build the file names |