[Forensics-changes] [yara] 115/135: Fix some warnings
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:27:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.1.0
in repository yara.
commit 5e3282b1865e30034f3c3d5783250cfe390ff1ad
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Fri Aug 22 13:05:38 2014 +0200
Fix some warnings
---
libyara/include/yara/modules.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libyara/include/yara/modules.h b/libyara/include/yara/modules.h
index e0e4f3e..7aa76d0 100644
--- a/libyara/include/yara/modules.h
+++ b/libyara/include/yara/modules.h
@@ -222,7 +222,7 @@ limitations under the License.
__function_obj->return_obj->type == OBJECT_TYPE_STRING, \
"return type differs from function declaration"); \
yr_object_set_string( \
- ((string) != UNDEFINED) ? (string) : NULL, \
+ ((string) != (void*) UNDEFINED) ? (string) : NULL, \
__function_obj->return_obj, \
NULL); \
return ERROR_SUCCESS; \
@@ -279,10 +279,10 @@ typedef struct _YR_MODULE_IMPORT
} YR_MODULE_IMPORT;
-int yr_modules_initialize();
+int yr_modules_initialize(void);
-int yr_modules_finalize();
+int yr_modules_finalize(void);
int yr_modules_do_declarations(
--
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