From a195b364ba34be1a351448c9df2427911b08cfc1 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Tue, 14 May 2019 05:24:39 +0300 Subject: [PATCH] fix Endpoint constructor not accepting bytes as peer_tag argument on windows --- src/_tgvoip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_tgvoip.h b/src/_tgvoip.h index d5a0b18..63e201e 100644 --- a/src/_tgvoip.h +++ b/src/_tgvoip.h @@ -79,7 +79,7 @@ struct Stats { }; struct Endpoint { - Endpoint(int64_t id, const std::string &ip, const std::string &ipv6, uint16_t port, const std::string &peer_tag); + Endpoint(int64_t id, const std::string &ip, const std::string &ipv6, uint16_t port, const py::bytes &peer_tag); int64_t id; std::string ip; std::string ipv6;