[Forensics-changes] [yara] 121/407: Fix warning
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:17 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 cdadb9e9a335c5bfb88676af6d24cec574fde5c4
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Thu Oct 16 13:30:46 2014 +0200
Fix warning
---
libyara/modules/pe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index bda092f..b4394a2 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -2186,7 +2186,7 @@ IMPORTED_FUNCTION* pe_parse_import_descriptor(
(pe->data + offset);
name = (char *) yr_strndup(
- import->Name, available_space(pe, import->Name));
+ (char*) import->Name, available_space(pe, import->Name));
}
}
else
@@ -2235,7 +2235,7 @@ IMPORTED_FUNCTION* pe_parse_import_descriptor(
(pe->data + offset);
name = (char *) yr_strndup(
- import->Name, available_space(pe, import->Name));
+ (char*) import->Name, available_space(pe, import->Name));
}
}
else
--
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