aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/statistics_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r--src/statistics/statistics_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c
index 335cd4165..21b8ecd8a 100644
--- a/src/statistics/statistics_api.c
+++ b/src/statistics/statistics_api.c
@@ -88,7 +88,7 @@ struct ActionItem
88 /** 88 /**
89 * Associated value. 89 * Associated value.
90 */ 90 */
91 unsigned long long value; 91 uint64_t value;
92 92
93 /** 93 /**
94 * Flag for SET/UPDATE actions. 94 * Flag for SET/UPDATE actions.
@@ -630,7 +630,7 @@ static void
630add_setter_action (struct GNUNET_STATISTICS_Handle *h, 630add_setter_action (struct GNUNET_STATISTICS_Handle *h,
631 const char *name, 631 const char *name,
632 int make_persistent, 632 int make_persistent,
633 unsigned long long value, enum ActionType type) 633 uint64_t value, enum ActionType type)
634{ 634{
635 struct ActionItem *ai; 635 struct ActionItem *ai;
636 size_t slen; 636 size_t slen;
@@ -674,7 +674,7 @@ add_setter_action (struct GNUNET_STATISTICS_Handle *h,
674void 674void
675GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle, 675GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle,
676 const char *name, 676 const char *name,
677 unsigned long long value, int make_persistent) 677 uint64_t value, int make_persistent)
678{ 678{
679 add_setter_action (handle, name, make_persistent, value, ACTION_SET); 679 add_setter_action (handle, name, make_persistent, value, ACTION_SET);
680} 680}
@@ -692,7 +692,7 @@ GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle,
692void 692void
693GNUNET_STATISTICS_update (struct GNUNET_STATISTICS_Handle *handle, 693GNUNET_STATISTICS_update (struct GNUNET_STATISTICS_Handle *handle,
694 const char *name, 694 const char *name,
695 long long delta, int make_persistent) 695 int64_t delta, int make_persistent)
696{ 696{
697 add_setter_action (handle, name, make_persistent, 697 add_setter_action (handle, name, make_persistent,
698 (unsigned long long) delta, ACTION_UPDATE); 698 (unsigned long long) delta, ACTION_UPDATE);