From 7c09f45f501a8ae6573d62e833c4ddfe4ab8b3aa Mon Sep 17 00:00:00 2001 From: akater Date: Tue, 3 Mar 2020 01:13:39 +0000 Subject: Specify namespace of uintmax_t This fixes #1833 for me. @jwiegley said it's reasonable change, and nobody else took action so here it goes. The patch is the same as proposed originally, modulo whitespace. --- src/filters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filters.h') diff --git a/src/filters.h b/src/filters.h index cf053a24..5c517c95 100644 --- a/src/filters.h +++ b/src/filters.h @@ -371,7 +371,7 @@ class anonymize_posts : public item_handler public: anonymize_posts(post_handler_ptr handler) : item_handler(handler), next_comm_id(0), last_xact(NULL), - rnd_gen(static_cast(static_cast(std::time(0)))), + rnd_gen(static_cast(static_cast(std::time(0)))), integer_range(1, 2000000000L), integer_gen(rnd_gen, integer_range) { TRACE_CTOR(anonymize_posts, "post_handler_ptr"); -- cgit v1.2.3