projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb/
[binutils-gdb.git]
/
libiberty
/
spaces.c
diff --git
a/libiberty/spaces.c
b/libiberty/spaces.c
index 9592a03a4cd56fd37d522bf8eea6bbc480caf829..67481c9bcd8ff026491b68699a97c5a9871b2bae 100644
(file)
--- 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 ; )