diff --git a/src/protocol/bittorrent/common.c b/src/protocol/bittorrent/common.c index 49b445d2..9a2cb039 100644 --- a/src/protocol/bittorrent/common.c +++ b/src/protocol/bittorrent/common.c @@ -147,7 +147,7 @@ done_bittorrent_message(struct bittorrent_message *message) void init_bittorrent_peer_id(bittorrent_id_T peer_id) { - char *version = VERSION; + const char *version = VERSION; int dots = 0; int i = 0;