Fixed a bunch of compiler warnings.

This commit is contained in:
Ryan C. Gordon committed 2017-08-29 15:52:49 -04:00
1 parent 629f8abab4
commit ae667da638
8 files changed
+43 -42

No files matched your search

+1 -1
View File
@@ -362,7 +362,7 @@ typedef struct { char * first; char * last; } stack_entry;
static char * pivot_big(char *first, char *mid, char *last, size_t size,
int compare(const void *, const void *)) {
int d=(((last-first)/size)>>3)*size;
size_t d=(((last-first)/size)>>3)*size;
#ifdef DEBUG_QSORT
fprintf(stderr, "pivot_big: first=%p last=%p size=%lu n=%lu\n", first, (unsigned long)last, size, (unsigned long)((last-first+1)/size));
#endif