summarylogtreecommitdiffstats
path: root/python3.10.patch
blob: 41064859d924371c0b2628bb6ee38892e0f63e5a (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -aur crc16-0.1.1/src/_crc16module.c crc16-0.1.1.new/src/_crc16module.c
--- crc16-0.1.1/src/_crc16module.c	2011-06-04 22:27:05.000000000 +0200
+++ crc16-0.1.1.new/src/_crc16module.c	2021-12-03 16:57:49.467854624 +0100
@@ -21,6 +21,7 @@
 
 #include <Python.h>
 
+#define PY_SSIZE_T_CLEAN
 /* table for calculating CRC
  * this particular table was generated using pycrc v0.7.6, http://www.tty1.net/pycrc/
  * using the configuration: