From: Mike Stepanek (mstepane) Date: Mon, 29 Nov 2021 12:43:04 +0000 (+0000) Subject: Pull request #3188: Fix Debian10.32 unit tests. X-Git-Tag: 3.1.18.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed234550171c5b68d1dfb56dfa42d14f09a37f83;p=thirdparty%2Fsnort3.git Pull request #3188: Fix Debian10.32 unit tests. Merge in SNORT/snort3 from ~OSHUMEIK/snort3:fix_32 to master Squashed commit of the following: commit 4e2e3de3c279ddc44460fab87adb0f1f2812ccf9 Author: Oleksii Shumeiko Date: Thu Nov 25 09:47:03 2021 +0200 helpers: fix stream unit test on 32 bit platforms --- diff --git a/src/helpers/test/json_stream_test.cc b/src/helpers/test/json_stream_test.cc index 01d207024..2aec9185b 100644 --- a/src/helpers/test/json_stream_test.cc +++ b/src/helpers/test/json_stream_test.cc @@ -92,7 +92,7 @@ TEST_CASE("basic", "[json_stream]") SECTION("int") { - js.put("i", (long) 0); + js.put("i", (int64_t)0); const char* x = R"-("i": 0)-"; CHECK(ss.str() == x); }