mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 05:48:51 -04:00
sample/dns-example: fix compiler warning (getopt() returns an int)
Signed-off-by: David Disseldorp <ddiss@suse.de> Closes: #449 (cherry picked from commit 55cadb2b03c95505f6adbb836f0e975772d80bce)
This commit is contained in:
parent
5c0132f315
commit
d3e1c440c9
@ -154,7 +154,7 @@ main(int c, char **v) {
|
||||
const char *ns;
|
||||
};
|
||||
struct options o;
|
||||
char opt;
|
||||
int opt;
|
||||
struct event_base *event_base = NULL;
|
||||
struct evdns_base *evdns_base = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user