Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed format string

  • Loading branch information...
commit 06fbdf097e5ec4b0084847efc397751f127869ec 1 parent ffd6052
@xyzzyz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  testInterceptor.c
View
3  testInterceptor.c
@@ -2,6 +2,7 @@
#include "intercept.h"
#include "call_cnt.h"
+
int
main(int argc, char __attribute__((unused)) **argv) {
struct call_cnt *c;
@@ -10,7 +11,7 @@ main(int argc, char __attribute__((unused)) **argv) {
testIntercept();
stop_intercepting(c);
print_stats_to_stream(stdout, c);
- printf("internal: %ld, external: %ld\n",
+ printf("internal: %zd, external: %zd\n",
get_num_intern_calls(c),
get_num_extern_calls(c));
release_stats(c);
Please sign in to comment.
Something went wrong with that request. Please try again.