diff options
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r-- | src/statistics/statistics_api.c | 8 |
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 | |||
630 | add_setter_action (struct GNUNET_STATISTICS_Handle *h, | 630 | add_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, | |||
674 | void | 674 | void |
675 | GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle, | 675 | GNUNET_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, | |||
692 | void | 692 | void |
693 | GNUNET_STATISTICS_update (struct GNUNET_STATISTICS_Handle *handle, | 693 | GNUNET_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); |