summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-rw-r--r--sample/hello-world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/hello-world.c b/sample/hello-world.c
index a13e06af..f3b9b4d6 100644
--- a/sample/hello-world.c
+++ b/sample/hello-world.c
@@ -27,7 +27,7 @@
static const char MESSAGE[] = "Hello, World!\n";
-static const int PORT = 9995;
+static const unsigned short PORT = 9995;
static void listener_cb(struct evconnlistener *, evutil_socket_t,
struct sockaddr *, int socklen, void *);