Merge pull request #2491 from kugelfuhr/kugelfuhr/fix-2431

Fix issue #2431
This commit is contained in:
Bob Andrews 2024-09-01 19:35:32 +02:00 committed by GitHub
commit 7a578be724
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1267,7 +1267,7 @@ static int CloseBrace (Collection* C, token_t Tok)
*/
{
if (CollCount (C) > 0) {
token_t LastTok = (token_t)CollLast (C);
token_t LastTok = (token_t)(intptr_t)CollLast (C);
if (LastTok == Tok) {
CollPop (C);
NextToken ();