[Forensics-changes] [yara] 49/368: Fix warnings
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:30:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.5.0
in repository yara.
commit 09b52935653d0b2e836b9a58fde81074106a84e1
Author: Victor M. Alvarez <vmalvarez at virustotal.com>
Date: Tue Sep 15 12:06:00 2015 +0200
Fix warnings
---
libyara/include/yara/types.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/libyara/include/yara/types.h b/libyara/include/yara/types.h
index 6ff4026..6925398 100644
--- a/libyara/include/yara/types.h
+++ b/libyara/include/yara/types.h
@@ -31,6 +31,10 @@ typedef HANDLE mutex_t;
typedef pthread_mutex_t mutex_t;
#endif
+#ifdef PROFILING_ENABLED
+#include <time.h>
+#endif
+
typedef int32_t tidx_mask_t;
@@ -194,7 +198,7 @@ typedef struct _YR_STRING
YR_MATCHES unconfirmed_matches[MAX_THREADS];
#ifdef PROFILING_ENABLED
- uint64_t clock_ticks;
+ clock_t clock_ticks;
#endif
} YR_STRING;
@@ -233,7 +237,7 @@ typedef struct _YR_RULE
DECLARE_REFERENCE(YR_NAMESPACE*, ns);
#ifdef PROFILING_ENABLED
- uint64_t clock_ticks;
+ clock_t clock_ticks;
#endif
} YR_RULE;
--
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