[Forensics-changes] [yara] 280/368: Fix warning

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.5.0
in repository yara.

commit c94dc61c4d6f5c271796cc1aba69dfcaf3f27a5c
Author: plusvic <plusvic at gmail.com>
Date:   Tue May 17 17:44:59 2016 +0200

    Fix warning
---
 libyara/include/yara/ahocorasick.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/include/yara/ahocorasick.h b/libyara/include/yara/ahocorasick.h
index e4316ec..1e497e4 100644
--- a/libyara/include/yara/ahocorasick.h
+++ b/libyara/include/yara/ahocorasick.h
@@ -27,7 +27,7 @@ limitations under the License.
 #define YR_AC_INVALID_TRANSITION(t, c)  (((t) & 0xFFFF) != c)
 
 #define YR_AC_MAKE_TRANSITION(state, code, flags) \
-  ((uint64_t)((((uint64_t) state) << 32) | ((flags) << 16) | code))
+  ((uint64_t)((((uint64_t) state) << 32) | ((flags) << 16) | (code)))
 
 #define YR_AC_USED_FLAG    0x1
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list