aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-06-08 22:20:46 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-06-08 22:20:46 +0300
commit339f21ce25f2144bf6941c925594039bdfe440b4 (patch)
treeaafa71fae9130b24ab8851ce736fa1f9fcaa8187 /profile.c
parent4fdd2362ad9c9a215da4b4a9f2c96b15a5d5d881 (diff)
downloadegawk-339f21ce25f2144bf6941c925594039bdfe440b4.tar.gz
egawk-339f21ce25f2144bf6941c925594039bdfe440b4.tar.bz2
egawk-339f21ce25f2144bf6941c925594039bdfe440b4.zip
Make profiling counts 64 bits.
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.c b/profile.c
index 0f77c8a1..d3f6f84f 100644
--- a/profile.c
+++ b/profile.c
@@ -135,7 +135,7 @@ init_profiling_signals()
/* indent --- print out enough tabs */
static void
-indent(long count)
+indent(long long count)
{
int i;
@@ -143,7 +143,7 @@ indent(long count)
if (count == 0)
fprintf(prof_fp, "\t");
else
- fprintf(prof_fp, "%6ld ", count);
+ fprintf(prof_fp, "%6lld ", count);
}
assert(indent_level >= 0);