[Forensics-changes] [yara] 224/407: Fix warnings
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:29 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 e6db3bf940f4a8da45fae7fcdb9da25497f74925
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Fri Nov 21 17:25:30 2014 +0100
Fix warnings
---
argparse/argparse.c | 2 +-
yarac.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/argparse/argparse.c b/argparse/argparse.c
index 260f103..67fee30 100755
--- a/argparse/argparse.c
+++ b/argparse/argparse.c
@@ -310,7 +310,7 @@ argparse_usage(struct argparse *self)
options = self->options;
for (; options->type != ARGPARSE_OPT_END; options++) {
size_t pos = 0;
- int pad = 0;
+ size_t pad = 0;
if (options->type == ARGPARSE_OPT_GROUP) {
fputc('\n', stdout);
fprintf(stdout, "%s", options->help);
diff --git a/yarac.c b/yarac.c
index f4f1e51..4402c48 100644
--- a/yarac.c
+++ b/yarac.c
@@ -186,7 +186,7 @@ int main(
{
const char* ns;
const char* file_name;
- char* colon = strchr(argv[i], ':');
+ char* colon = (char*) strchr(argv[i], ':');
if (colon)
{
--
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