summaryrefslogtreecommitdiffstats
path: root/kmtrace
diff options
context:
space:
mode:
authorSerghei Amelian <serghei.amelian@gmail.com>2012-02-14 01:45:49 +0200
committerSerghei Amelian <serghei.amelian@gmail.com>2012-02-14 01:45:49 +0200
commitbfb0bc00e959ed3cac6cf4e517a24de50446be50 (patch)
tree2e82b22740d8eea0bc02379fc216fdb6a72068a7 /kmtrace
parent88b5cfd88364333bc74d7507e3c69af6f5327a3d (diff)
downloadtdesdk-bfb0bc00e959ed3cac6cf4e517a24de50446be50.tar.gz
tdesdk-bfb0bc00e959ed3cac6cf4e517a24de50446be50.zip
[tdesdk] cmake port
Diffstat (limited to 'kmtrace')
-rw-r--r--kmtrace/ktrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmtrace/ktrace.c b/kmtrace/ktrace.c
index 21fca376..8b9eb2f4 100644
--- a/kmtrace/ktrace.c
+++ b/kmtrace/ktrace.c
@@ -778,12 +778,12 @@ kuntrace()
"Mallocs: %8ld Frees: %8ld Leaks: %8ld\n"
"Logged Mallocs: %8ld Logged Frees: %8ld Logged Leaks: %8ld\n"
"Avg. Free lookups: %ld Malloc collisions: %ld Max offset: %ld\n",
- tr_max_mallocs, TR_CACHE_SIZE, tr_flashes,
+ tr_max_mallocs, (long int)TR_CACHE_SIZE, tr_flashes,
tr_mallocs, tr_frees, tr_current_mallocs,
tr_logged_mallocs, tr_logged_frees,
tr_logged_mallocs - tr_logged_frees,
tr_frees > 0 ? ( tr_failed_free_lookups / tr_frees ) : 0,
- tr_malloc_collisions, tr_max_offset);
+ tr_malloc_collisions, (long int)tr_max_offset);
#endif
fclose (mallstream);
mallstream = NULL;