]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/spaces.c
libiberty.h (ACONCAT): Properly cast value of alloca().
[thirdparty/gcc.git] / libiberty / spaces.c
index 9592a03a4cd56fd37d522bf8eea6bbc480caf829..67481c9bcd8ff026491b68699a97c5a9871b2bae 100644 (file)
@@ -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 ; )