Skip to content

Commit

Permalink
GCC 14 support
Browse files Browse the repository at this point in the history
  • Loading branch information
stefantalpalaru committed Jul 5, 2024
1 parent c0a0c9a commit 13284ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GCC 14 support.
2 changes: 1 addition & 1 deletion Modules/_tkinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ AsObj(PyObject *value)
return NULL;
}
if (sizeof(Py_UNICODE) == sizeof(Tcl_UniChar))
return Tcl_NewUnicodeObj(inbuf, size);
return Tcl_NewUnicodeObj((const Tcl_UniChar *)inbuf, size);
allocsize = ((size_t)size) * sizeof(Tcl_UniChar);
if (allocsize >= size)
outbuf = (Tcl_UniChar*)attemptckalloc(allocsize);
Expand Down

0 comments on commit 13284ce

Please sign in to comment.