From 4389b0c438248ae8af8f5e41267e915dd81cf410 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 3 Oct 2002 09:00:57 +0000 Subject: [PATCH] Fixed a small bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1426 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/expr.c b/src/cc65/expr.c index 43f63a689..b43f748bf 100644 --- a/src/cc65/expr.c +++ b/src/cc65/expr.c @@ -2755,7 +2755,7 @@ static int hieQuest (ExprDesc *lval) type3 = lval3.Type; if (!IsTypeVoid (lval3.Type)) { /* Load it into the primary */ - exprhs (CF_NONE, k, &lval2); + exprhs (CF_NONE, k, &lval3); } /* Check if any conversions are needed, if so, do them. -- 2.39.5