[Forensics-changes] [yara] 164/192: Make integer conversion explicit to avoid warnings
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:32:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.6.0
in repository yara.
commit 94e68908ae50246ec54560461ef4ea490a9dfa92
Author: plusvic <plusvic at gmail.com>
Date: Fri May 5 19:28:58 2017 +0200
Make integer conversion explicit to avoid warnings
---
libyara/re.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libyara/re.c b/libyara/re.c
index c624379..9a12215 100644
--- a/libyara/re.c
+++ b/libyara/re.c
@@ -2218,8 +2218,8 @@ int yr_re_fast_exec(
int max_bytes_matched;
max_bytes_matched = flags & RE_FLAGS_BACKWARDS ?
- input_backwards_size :
- input_forwards_size;
+ (int) input_backwards_size :
+ (int) input_forwards_size;
input_incr = flags & RE_FLAGS_BACKWARDS ? -1 : 1;
--
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