aboutsummaryrefslogtreecommitdiffstats
path: root/cint_array.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-08-17 12:38:04 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-08-17 12:38:04 +0300
commite6b05afd9971b457c0b46907a91185b66be8ff4e (patch)
treee7d3b6fce47a2ac7b32cdf923ceb6e50db9fe441 /cint_array.c
parent3b23e177cd166e96c700379491b4a99bddf9aa4d (diff)
parent76cc4d241f328876b18e48639d631823c3d304d6 (diff)
downloadegawk-e6b05afd9971b457c0b46907a91185b66be8ff4e.tar.gz
egawk-e6b05afd9971b457c0b46907a91185b66be8ff4e.tar.bz2
egawk-e6b05afd9971b457c0b46907a91185b66be8ff4e.zip
Merge branch 'extgawk'
Diffstat (limited to 'cint_array.c')
-rw-r--r--cint_array.c6
1 files changed, 4 insertions, 2 deletions
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);
}