[Forensics-changes] [yara] 330/407: Fix issues with previous commit
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:42 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 f1fe7270ceb6ca87ba3a310b00908a6424194c43
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Thu Jan 8 15:23:28 2015 +0100
Fix issues with previous commit
---
libyara/modules/tests.c | 2 +-
libyara/object.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libyara/modules/tests.c b/libyara/modules/tests.c
index e36a6da..ebf8970 100644
--- a/libyara/modules/tests.c
+++ b/libyara/modules/tests.c
@@ -31,7 +31,7 @@ define_function(fsum_3)
{
double a = float_argument(1);
double b = float_argument(2);
- double c = float_argument(2);
+ double c = float_argument(3);
return_float(a + b + c);
}
diff --git a/libyara/object.c b/libyara/object.c
index 1b17227..fbdaa4f 100644
--- a/libyara/object.c
+++ b/libyara/object.c
@@ -179,7 +179,7 @@ int yr_object_function_create(
case 's':
return_type = OBJECT_TYPE_STRING;
break;
- case 'd':
+ case 'f':
return_type = OBJECT_TYPE_FLOAT;
break;
default:
--
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