summaryrefslogtreecommitdiff
path: root/str.c
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2016-05-20 16:19:56 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2016-05-20 16:19:56 +0000
commite917534a842fe9ce606f648cd65fd6ea433c7013 (patch)
treedaf9dd79fff13b1a1ce054240f3d324cb88485f1 /str.c
parentb7ff84ad756783ecadb3ce2c732c71c4c7d8e1f7 (diff)
Notes
Diffstat (limited to 'str.c')
-rw-r--r--str.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/str.c b/str.c
index 0260447f8178..5e4e8f6cc1c9 100644
--- a/str.c
+++ b/str.c
@@ -1,4 +1,4 @@
-/* $NetBSD: str.c,v 1.35 2014/02/12 01:35:56 sjg Exp $ */
+/* $NetBSD: str.c,v 1.36 2016/04/06 09:57:00 gson Exp $ */
/*-
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: str.c,v 1.35 2014/02/12 01:35:56 sjg Exp $";
+static char rcsid[] = "$NetBSD: str.c,v 1.36 2016/04/06 09:57:00 gson Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)str.c 5.8 (Berkeley) 6/1/90";
#else
-__RCSID("$NetBSD: str.c,v 1.35 2014/02/12 01:35:56 sjg Exp $");
+__RCSID("$NetBSD: str.c,v 1.36 2016/04/06 09:57:00 gson Exp $");
#endif
#endif /* not lint */
#endif
@@ -102,7 +102,7 @@ str_concat(const char *s1, const char *s2, int flags)
len2 = strlen(s2);
/* allocate length plus separator plus EOS */
- result = bmake_malloc((u_int)(len1 + len2 + 2));
+ result = bmake_malloc((unsigned int)(len1 + len2 + 2));
/* copy first string into place */
memcpy(result, s1, len1);