[Forensics-changes] [yara] 230/415: Fix warning in printf format string
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch debian
in repository yara.
commit 42f0a85faf45c217d285569ed20d59afc86cd6b4
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Wed Nov 20 14:15:15 2013 +0000
Fix warning in printf format string
---
yara.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/yara.c b/yara.c
index e322a56..daded68 100644
--- a/yara.c
+++ b/yara.c
@@ -28,6 +28,7 @@ limitations under the License.
#endif
+#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -529,7 +530,7 @@ int handle_message(int message, RULE* rule, void* data)
while (match != NULL)
{
- printf("0x%llx:%s: ", match->first_offset, string->identifier);
+ printf("0x%" PRIx64 ":%s: ", match->first_offset, string->identifier);
if (STRING_IS_HEX(string))
{
--
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