From: cuz Date: Thu, 3 Oct 2002 09:00:57 +0000 (+0000) Subject: Fixed a small bug X-Git-Tag: V2.12.0~2206 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4389b0c438248ae8af8f5e41267e915dd81cf410;p=cc65 Fixed a small bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1426 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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.