From e848d0aaac063cdb6e4664cd3774f1c59ea220ab Mon Sep 17 00:00:00 2001
From: Dan <14043624+delivrance@users.noreply.github.com>
Date: Wed, 27 Nov 2019 14:33:31 +0100
Subject: [PATCH] Fix deprecation warnings complaining about PY_SSIZE_T_CLEAN
---
tgcrypto/tgcrypto.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tgcrypto/tgcrypto.c b/tgcrypto/tgcrypto.c
index 260c17d..997ab6c 100644
--- a/tgcrypto/tgcrypto.c
+++ b/tgcrypto/tgcrypto.c
@@ -16,6 +16,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with Pyrogram. If not, see .
+#define PY_SSIZE_T_CLEAN
#include
#include "aes256.h"