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:
David Disseldorp 2017-02-20 16:55:57 +01:00 committed by Azat Khuzhin
parent 5c0132f315
commit d3e1c440c9
No known key found for this signature in database
GPG Key ID: B86086848EF8686D

View File

@ -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;