summaryrefslogtreecommitdiffstats
path: root/Include/cpython/object.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-08-16 09:58:54 (GMT)
committerGitHub <noreply@github.com>2023-08-16 09:58:54 (GMT)
commit00bfed7cba3f2d66a1534f9f088ddf68abbf0d3f (patch)
treec27c18b37c798401fd55f33468bed26e91d0c875 /Include/cpython/object.h
parentf0a583b6fbc9a4b2f9358c8426110a5c1f7948a3 (diff)
downloadcpython-00bfed7cba3f2d66a1534f9f088ddf68abbf0d3f.zip
cpython-00bfed7cba3f2d66a1534f9f088ddf68abbf0d3f.tar.gz
cpython-00bfed7cba3f2d66a1534f9f088ddf68abbf0d3f.tar.bz2
[3.12] gh-91051: fix segfault when using all 8 type watchers (GH-107853) (#107876)
* gh-91051: fix segfault when using all 8 type watchers (GH-107853) (cherry picked from commit 66e4edd7346b1cd65ddff6da890a0d725e325116) Co-authored-by: Carl Meyer <carl@oddbird.net>
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 c5d0851..ae7f780 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