]> git.ipfire.org Git - thirdparty/snort3.git/commit
Pull request #4267: framework: add workaround to support case from double to unsigned
authorYehor Velykozhon -X (yvelykoz - SOFTSERVE INC at Cisco) <yvelykoz@cisco.com>
Tue, 2 Apr 2024 13:24:32 +0000 (13:24 +0000)
committerOleksii Shumeiko -X (oshumeik - SOFTSERVE INC at Cisco) <oshumeik@cisco.com>
Tue, 2 Apr 2024 13:24:32 +0000 (13:24 +0000)
commitcf03e7d9bed080c6b5373b179501474b6fee0944
tree85c4ff193f544db8b8b50611dfdfcc67995aa6d0
parent95a0d33ea4a4acf1be0ab4740d3160e58c94c73a
Pull request #4267: framework: add workaround to support case from double to unsigned

Merge in SNORT/snort3 from ~YVELYKOZ/snort3:fix_parser_on_arm to master

Squashed commit of the following:

commit 3a02dd2f969f3902c8d48885a8a9259614259d10
Author: Yehor Velykozhon <yvelykoz@cisco.com>
Date:   Mon Apr 1 17:31:24 2024 +0300

    framework: add correct cast from double to unsigned

    Standard doesn't not guarantee the conversion of negative double
    to unsigned. Meanwhile, cast double to int and int to unsigned
    is defined by it.
src/framework/parameter.cc