]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2697 in SNORT/snort3 from ~KATHARVE/snort3:hi_fix_test to master
authorMichael Altizer (mialtize) <mialtize@cisco.com>
Mon, 11 Jan 2021 18:40:24 +0000 (18:40 +0000)
committerMichael Altizer (mialtize) <mialtize@cisco.com>
Mon, 11 Jan 2021 18:40:24 +0000 (18:40 +0000)
Squashed commit of the following:

commit 0d0f2b28cd6f25b3ad851cfd2538a5c7f487ad34
Author: Katura Harvey <katharve@cisco.com>
Date:   Mon Jan 11 13:01:08 2021 -0500

    http_inspect: fix type of unit test mock function

src/service_inspectors/http_inspect/test/http_transaction_test.cc

index f6dd73685a393813f29b1222fe0c6179e090e554..fd88bb2206e091c51b80c5de10f7ec8877e6601d 100644 (file)
@@ -46,8 +46,8 @@ FlowData::~FlowData() = default;
 int DetectionEngine::queue_event(unsigned int, unsigned int, Actions::Type) { return 0; }
 fd_status_t File_Decomp_StopFree(fd_session_t*) { return File_Decomp_OK; }
 uint32_t str_to_hash(const uint8_t *, size_t) { return 0; }
-void FlowData::update_allocations(unsigned long) {}
-void FlowData::update_deallocations(unsigned long) {}
+void FlowData::update_allocations(size_t) {}
+void FlowData::update_deallocations(size_t) {}
 }
 
 THREAD_LOCAL PegCount HttpModule::peg_counts[PEG_COUNT_MAX] = { };