]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #4918: appid: standardize variable types in user data map unit test
authorOleksandr Stepanov -X (ostepano - SOFTSERVE INC at Cisco) <ostepano@cisco.com>
Wed, 24 Sep 2025 18:02:24 +0000 (18:02 +0000)
committerChris Sherwin (chsherwi) <chsherwi@cisco.com>
Wed, 24 Sep 2025 18:02:24 +0000 (18:02 +0000)
Merge in SNORT/snort3 from ~OSTEPANO/snort3:user_data_map_type_fix to master

Squashed commit of the following:

commit c43642c5064a7dd9d19218666822c55d31b18160
Author: Oleksandr Stepanov <ostepano@cisco.com>
Date:   Wed Sep 24 07:06:45 2025 -0400

    appid: standardize variable types in user data map unit test

src/network_inspectors/appid/test/user_data_map_test.cc

index 125d8fe0a143273775afd06b53cbfeb9c892f6c3..4a37599acfc0e57b314b347133c5c688ce767608 100644 (file)
@@ -29,7 +29,7 @@
 #include <CppUTest/CommandLineTestRunner.h>
 #include <CppUTest/TestHarness.h>
 
-static uint appid_log_call_count = 0;
+static unsigned int appid_log_call_count = 0;
 void appid_log(const snort::Packet*, unsigned char, char const*, ...) { appid_log_call_count++; }
 
 SThreadType test_thread_type = SThreadType::STHREAD_TYPE_MAIN;