diff --git a/src/protocol/bittorrent/tracker.c b/src/protocol/bittorrent/tracker.c index cea0cf07b..1b21d6340 100644 --- a/src/protocol/bittorrent/tracker.c +++ b/src/protocol/bittorrent/tracker.c @@ -212,7 +212,7 @@ do_send_bittorrent_tracker_request(struct connection *conn) } if (bittorrent->tracker.event != BITTORRENT_EVENT_REGULAR) { - char *event; + const char *event; switch (bittorrent->tracker.event) { case BITTORRENT_EVENT_STARTED: