summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn W. De Boskey <jwd@FreeBSD.org>2003-07-29 00:31:07 +0000
committerJohn W. De Boskey <jwd@FreeBSD.org>2003-07-29 00:31:07 +0000
commit74e35006baefda8cfaa6ab203e538094c1f62f71 (patch)
tree13e9ebb68fb516d7dadd8a2faa65a21e6ada8864
parentaae962d56ef0734dea72b7a57d3a1c0bbf62bf18 (diff)
Notes
-rw-r--r--gnu/usr.bin/patch/backupfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/patch/backupfile.c b/gnu/usr.bin/patch/backupfile.c
index d4edebb4872b..c81749b2446b 100644
--- a/gnu/usr.bin/patch/backupfile.c
+++ b/gnu/usr.bin/patch/backupfile.c
@@ -213,7 +213,7 @@ static char *
concat(const char *str1, const char *str2)
{
char *newstr;
- char str1_length = strlen (str1);
+ int str1_length = strlen (str1);
newstr = malloc (str1_length + strlen (str2) + 1);
if (newstr == 0)