From 92c28477c1ec4d749c85d08b8e7bc9a766022cbb Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 3 Jun 2015 02:21:13 -0500 Subject: [PATCH] pkg_getopt_long: fix implicit conversion warnings with variables over 31 bits --- getopt_long.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getopt_long.h b/getopt_long.h index 6001341c..79b7e4fe 100644 --- a/getopt_long.h +++ b/getopt_long.h @@ -56,7 +56,7 @@ struct pkg_option { /* if not NULL, set *flag to val when option found */ uint64_t *flag; /* if flag not NULL, value to set *flag to; else return value */ - int val; + uint64_t val; }; int pkg_getopt_long(int, char * const *, const char *,