summaryrefslogtreecommitdiff
path: root/cint_array.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-10-25 21:58:39 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-10-25 21:58:39 +0200
commita2f4c46ba3d4cd3de6be372316abc0e0e6518d4c (patch)
treec45adb075a1f582ea50593facde48e2a835ae429 /cint_array.c
parent1bba94521445126120cecd41f7ea29a2810a5eeb (diff)
downloadgawk-a2f4c46ba3d4cd3de6be372316abc0e0e6518d4c.tar.gz
Fix warning messages after merge with gawk_performance.
Diffstat (limited to 'cint_array.c')
-rw-r--r--cint_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cint_array.c b/cint_array.c
index 72cd7370..bdda1117 100644
--- a/cint_array.c
+++ b/cint_array.c
@@ -1011,7 +1011,7 @@ tree_print(NODE *tree, size_t bi, int indent_level)
hsize = tree->array_size;
if ((tree->flags & HALFHAT) != 0)
hsize /= 2;
- fprintf(output_fp, "%4d:%s[%4lu:%-4lu]\n", bi,
+ fprintf(output_fp, "%4u:%s[%4lu:%-4lu]\n", bi,
(tree->flags & HALFHAT) ? "HH" : "H",
(unsigned long) hsize, (unsigned long) tree->table_size);
@@ -1225,7 +1225,7 @@ static void
leaf_print(NODE *array, size_t bi, int indent_level)
{
indent(indent_level);
- fprintf(output_fp, "%4d:L[%4lu:%-4lu]\n", bi,
+ fprintf(output_fp, "%4u:L[%4lu:%-4lu]\n", bi,
(unsigned long) array->array_size,
(unsigned long) array->table_size);
}