pkg_getopt_long: fix implicit conversion warnings with variables over 31 bits

feature/tap-sh
William Pitcock 2015-06-03 02:21:13 -05:00
parent 3ddc77c01d
commit 92c28477c1
1 changed files with 1 additions and 1 deletions

View File

@ -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 *,