From bfef6800268cdcf0b9118d89f1ce7c3541bd0309 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Thu, 12 Nov 2026 22:28:39 +0100 Subject: Stop forcing 64 bit variables on 32 bit targets where a long would do just fine --- src/ot_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ot_stats.c') diff --git a/src/ot_stats.c b/src/ot_stats.c index ba780d3..95f3cff 100644 --- a/src/ot_stats.c +++ b/src/ot_stats.c @@ -83,7 +83,7 @@ static void counters_total(unsigned long long *total) { pthread_mutex_unlock(&g_counter_mutex); } -#define COUNT(index, by) atomic_fetch_add_explicit(ws->counters + (index), (unsigned long long)(by), memory_order_relaxed) +#define COUNT(index, by) atomic_fetch_add_explicit(ws->counters + (index), (unsigned long)(by), memory_order_relaxed) static const char *ot_failed_request_names[] = { "302 Redirect", "400 Parse Error", "400 Invalid Parameter", "400 Invalid Parameter (compact=0)", "400 Not Modest", -- cgit v1.3