summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorM. Kory Woods <kory@virlo.net>2013-07-07 10:54:50 -0500
committerMichael Stapelberg <michael@stapelberg.de>2013-07-09 23:22:26 +0200
commit41be50a983e4c7313ef63b4b5a7b2db30575c9ba (patch)
treed5d412007fc77e9cb0707eab1c36f5dd6d29de77 /src
parentcf417ffeb1423024d109da57ba71796b42ab5ce3 (diff)
allow load to be a float
Diffstat (limited to 'src')
-rw-r--r--src/print_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_load.c b/src/print_load.c
index 4e026cc..6e61ae6 100644
--- a/src/print_load.c
+++ b/src/print_load.c
@@ -6,7 +6,7 @@
#include <yajl/yajl_gen.h>
#include <yajl/yajl_version.h>
-void print_load(yajl_gen json_gen, char *buffer, const char *format, const int max_threshold) {
+void print_load(yajl_gen json_gen, char *buffer, const char *format, const float max_threshold) {
char *outwalk = buffer;
/* Get load */