summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6652262)
raw | patch | inline | side by side (parent: 6652262)
author | Florian Forster <octo@verplant.org> | |
Fri, 10 Sep 2010 12:45:22 +0000 (14:45 +0200) | ||
committer | Florian Forster <octo@verplant.org> | |
Fri, 10 Sep 2010 12:45:22 +0000 (14:45 +0200) |
src/action_show_instance.c | patch | blob | history |
index 92bbf1cb10991ca2d4db6f36d4d6241f00292ca3..0d5420aa132683dbe12eae51cfbc9c0acd658b5c 100644 (file)
static int show_instance_json (graph_config_t *cfg, /* {{{ */
graph_instance_t *inst,
- time_t begin, time_t end, int index)
+ long begin, long end, int index)
{
yajl_gen_config handler_config;
yajl_gen handler;
yajl_gen_string (handler,
(unsigned char *) "begin",
(unsigned int) strlen ("begin"));
- yajl_gen_integer (handler, (long int) begin);
+ yajl_gen_integer (handler, begin);
yajl_gen_string (handler,
(unsigned char *) "end",
(unsigned int) strlen ("end"));
- yajl_gen_integer (handler, (long int) end);
+ yajl_gen_integer (handler, end);
yajl_gen_map_close (handler);