/*
- * Copyright (C) 2013-2014 Jo-Philipp Wich <jow@openwrt.org>
+ * Copyright (C) 2013-2014 Jo-Philipp Wich <jo@mein.io>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include <stdio.h>
#include <stdbool.h>
+#include <stdint.h>
#include <unistd.h>
#include <errno.h>
case json_type_int:
print_separator(sep, &sc, sl);
- printf("%d", json_object_get_int(item->jsobj));
+ printf("%" PRId64, json_object_get_int64(item->jsobj));
break;
case json_type_double: