summaryrefslogtreecommitdiffstats
path: root/Include/cpython/object.h
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2023-08-11 18:42:26 (GMT)
committerGitHub <noreply@github.com>2023-08-11 18:42:26 (GMT)
commit66e4edd7346b1cd65ddff6da890a0d725e325116 (patch)
treec26d1da58d8aafa684603980090cba4c74cb329e /Include/cpython/object.h
parent04cc01453db2f0af72a06440831637f8bf512daf (diff)
downloadcpython-66e4edd7346b1cd65ddff6da890a0d725e325116.zip
cpython-66e4edd7346b1cd65ddff6da890a0d725e325116.tar.gz
cpython-66e4edd7346b1cd65ddff6da890a0d725e325116.tar.bz2
gh-91051: fix segfault when using all 8 type watchers (#107853)
Diffstat (limited to 'Include/cpython/object.h')
-rw-r--r--Include/cpython/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h
index fd45fa5..5f8b1f7 100644
--- a/Include/cpython/object.h
+++ b/Include/cpython/object.h
@@ -227,7 +227,7 @@ struct _typeobject {
vectorcallfunc tp_vectorcall;
/* bitset of which type-watchers care about this type */
- char tp_watched;
+ unsigned char tp_watched;
};
/* This struct is used by the specializer