summaryrefslogtreecommitdiff
path: root/ar.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2010-07-19 07:10:53 +0000
committerPaul Smith <psmith@gnu.org>2010-07-19 07:10:53 +0000
commit9b6d1b0508c3d0e664281883a8ac8e79bb440a8f (patch)
tree4cf2063962595ca40234d4832a00f7eeb7ebb321 /ar.c
parent6128543aa71dafd62a34b91955d71af450d3a506 (diff)
downloadmake-9b6d1b0508c3d0e664281883a8ac8e79bb440a8f.tar.gz
- Many fixup patches from Savannah.
- Fix the test suite on Solaris (from Boris) - Update the manual for .ONESHELL
Diffstat (limited to 'ar.c')
-rw-r--r--ar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ar.c b/ar.c
index 8bfca1ca..95dcbbbe 100644
--- a/ar.c
+++ b/ar.c
@@ -273,7 +273,8 @@ ar_glob (const char *arname, const char *member_pattern, unsigned int size)
names[i++] = n->name;
/* Sort them alphabetically. */
- qsort (names, i, sizeof (*names), alpha_compare);
+ /* MSVC erroneously warns without a cast here. */
+ qsort ((void *)names, i, sizeof (*names), alpha_compare);
/* Put them back into the chain in the sorted order. */
i = 0;