[Forensics-changes] [yara] 154/407: Fix warning

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:20 UTC 2017


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

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

commit c8b74edcf603bf01f0823789543af2b4a0366834
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Wed Oct 29 12:30:23 2014 +0100

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

diff --git a/libyara/include/yara/hash.h b/libyara/include/yara/hash.h
index bda63b9..3731b58 100644
--- a/libyara/include/yara/hash.h
+++ b/libyara/include/yara/hash.h
@@ -33,7 +33,7 @@ typedef struct _YR_HASH_TABLE
 {
   int size;
 
-  YR_HASH_TABLE_ENTRY* buckets[0];
+  YR_HASH_TABLE_ENTRY* buckets[1];
 
 } YR_HASH_TABLE;
 

-- 
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