Skip to content

Commit

Permalink
pkg_getopt_long: fix implicit conversion warnings with variables over…
Browse files Browse the repository at this point in the history
… 31 bits
  • Loading branch information
kaniini committed Jun 3, 2015
1 parent 3ddc77c commit 92c2847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getopt_long.h
Expand Up @@ -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 *,
Expand Down

0 comments on commit 92c2847

Please sign in to comment.