Skip to content

Commit 215ee93

Browse files
committed
fix nucode compilation of ?: with long long operands
1 parent 2cbdc9d commit 215ee93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontends/hltransform.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Spin to C/C++ converter
3-
* Copyright 2011-2024 Total Spectrum Software Inc.
3+
* Copyright 2011-2025 Total Spectrum Software Inc.
44
* See the file COPYING for terms of use
55
*
66
* various high level transformations that should take
@@ -387,7 +387,7 @@ doSimplifyAssignments(AST **astptr, int insertCasts, int atTopLevel)
387387

388388
AST *stmt = NewAST(AST_STMTLIST,
389389
newif,
390-
tempvar);
390+
NewAST(AST_STMTLIST, tempvar, NULL));
391391
*astptr = ast = stmt;
392392
AstReportDone(&saveinfo);
393393
}

0 commit comments

Comments
 (0)