1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00

Fixed a compiler warning.

This commit is contained in:
Kugel Fuhr 2024-09-01 10:26:45 +02:00
parent b688cfa0c0
commit ef17250c64

View File

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