From 4259946e3b82d6a89165dfd9cbd0bce7470b5eba Mon Sep 17 00:00:00 2001 From: "roberto@debian32" Date: Fri, 30 Sep 2011 08:51:18 +0200 Subject: [PATCH] second little typecast fix --- master_utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/master_utils.c b/master_utils.c index e79496bb..2c3b42b2 100644 --- a/master_utils.c +++ b/master_utils.c @@ -306,14 +306,14 @@ void uwsgi_send_stats(int fd) { } } - fprintf(output,"\"rss\": %llu, ", uwsgi.workers[i+1].rss_size); - fprintf(output,"\"vsz\": %llu, ", uwsgi.workers[i+1].vsz_size); + fprintf(output,"\"rss\": %llu, ", (long long unsigned int)uwsgi.workers[i+1].rss_size); + fprintf(output,"\"vsz\": %llu, ", (long long unsigned int)uwsgi.workers[i+1].vsz_size); fprintf(output,"\"running_time\": %llu, ", (long long unsigned int) uwsgi.workers[i+1].running_time); fprintf(output,"\"last_spawn\": %llu, ", (unsigned long long) uwsgi.workers[i+1].last_spawn); - fprintf(output,"\"respawn_count\": %llu, ", uwsgi.workers[i+1].respawn_count); + fprintf(output,"\"respawn_count\": %llu, ", (long long unsigned int)uwsgi.workers[i+1].respawn_count); fprintf(output,"\"tx\": %llu, ", (long long unsigned int) uwsgi.workers[i+1].tx);