]> Dogcows Code - chaz/tar/blobdiff - src/incremen.c
Port to Forte Developer 7 C 5.4 and C99.
[chaz/tar] / src / incremen.c
index 6cd8efb8b2ae662ce2fe058d0b3ae6af34b6293b..c68a88b48e83389359b57eb3cbbccefb19b0a3a9 100644 (file)
@@ -20,6 +20,7 @@
 #include <system.h>
 #include <getline.h>
 #include <hash.h>
+#include <mkdtemp.h>
 #include <quotearg.h>
 #include "common.h"
 
@@ -378,7 +379,9 @@ dumpdir_size (const char *p)
 static int
 compare_dirnames (const void *first, const void *second)
 {
-  return strcmp (*(const char**)first, *(const char**)second);
+  char const *const *name1 = first;
+  char const *const *name2 = second;
+  return strcmp (*name1, *name2);
 }
 
 /* Compare dumpdir array from DIRECTORY with directory listing DIR and
This page took 0.02093 seconds and 4 git commands to generate.