[Forensics-changes] [yara] 379/407: Avoid warning due to ambiguous call to overloaded log()
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:47 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 964a7973b42723301dac60e5652c7a24f0347898
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Thu Feb 5 12:38:48 2015 +0100
Avoid warning due to ambiguous call to overloaded log()
---
libyara/modules/math.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libyara/modules/math.c b/libyara/modules/math.c
index 660b981..2365032 100644
--- a/libyara/modules/math.c
+++ b/libyara/modules/math.c
@@ -28,7 +28,7 @@ limitations under the License.
#ifdef _MSC_VER
double log2(double n)
{
- return log(n) / log(2);
+ return log(n) / log(2.0);
}
#endif
--
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