aboutsummaryrefslogtreecommitdiff
path: root/libiberty/spaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/spaces.c')
-rw-r--r--libiberty/spaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/spaces.c b/libiberty/spaces.c
index 9592a03..67481c9 100644
--- a/libiberty/spaces.c
+++ b/libiberty/spaces.c
@@ -57,7 +57,7 @@ spaces (int count)
{
free (buf);
}
- buf = malloc (count + 1);
+ buf = (char *) malloc (count + 1);
if (buf == (char *) 0)
return 0;
for (t = buf + count ; t != buf ; )