1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-29 10:29:30 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@2459 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-09-30 14:40:32 +00:00
parent ed6a2f5c86
commit d4bd299b5c

View File

@ -275,7 +275,7 @@ static void ReturnStatement (void)
if (!F_HasVoidReturn (CurrentFunc)) {
/* Convert the return value to the type of the function result */
TypeConversion (&Expr, k, F_GetReturnType (CurrentFunc));
k = TypeConversion (&Expr, k, F_GetReturnType (CurrentFunc));
/* Load the value into the primary */
ExprLoad (CF_NONE, k, &Expr);