From fcc37ab5b658388a6fa14bcd9c0254454418c96a Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 6 Jun 2012 20:03:29 +0300 Subject: Minor fixes for printf compile warnings. --- cint_array.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cint_array.c') diff --git a/cint_array.c b/cint_array.c index 3245cdc1..cafd1bbc 100644 --- a/cint_array.c +++ b/cint_array.c @@ -996,7 +996,8 @@ tree_print(NODE *tree, size_t bi, int indent_level) hsize = tree->array_size; if ((tree->flags & HALFHAT) != 0) hsize /= 2; - fprintf(output_fp, "%4lu:%s[%4lu:%-4lu]\n", bi, + fprintf(output_fp, "%4lu:%s[%4lu:%-4lu]\n", + (unsigned long) bi, (tree->flags & HALFHAT) ? "HH" : "H", (unsigned long) hsize, (unsigned long) tree->table_size); @@ -1210,7 +1211,8 @@ static void leaf_print(NODE *array, size_t bi, int indent_level) { indent(indent_level); - fprintf(output_fp, "%4lu:L[%4lu:%-4lu]\n", bi, + fprintf(output_fp, "%4lu:L[%4lu:%-4lu]\n", + (unsigned long) bi, (unsigned long) array->array_size, (unsigned long) array->table_size); } -- cgit v1.2.3