Mercurial > pub > dyncall > dyncall
changeset 12:35ca16453c12
minor typo fix for arm64/apple
author | dadler |
---|---|
date | Tue, 21 Jul 2015 17:24:59 +0200 |
parents | 0911112a8630 |
children | 82c39a220e51 |
files | dyncall/dyncall_callvm_arm64_apple.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dyncall/dyncall_callvm_arm64_apple.c Mon Jul 20 08:14:50 2015 +0200 +++ b/dyncall/dyncall_callvm_arm64_apple.c Tue Jul 21 17:24:59 2015 +0200 @@ -82,7 +82,7 @@ static void var_short (DCCallVM* in_p, DCshort x) { var_i64( in_p, ((DClonglong) x) ); } static void var_int (DCCallVM* in_p, DCint x) { var_i64( in_p, ((DClonglong) x) ); } static void var_long (DCCallVM* in_p, DClong x) { var_i64( in_p, ((DClonglong) x) ); } -static void var_double (DCCallVM* in_p, DCdouble in_x) { +static void var_double (DCCallVM* in_p, DCdouble x) { DCCallVM_arm64* p = (DCCallVM_arm64*)in_p; dcVecAlign(&p->mVecHead, sizeof(DCdouble)); dcVecAppend(&p->mVecHead, &x, sizeof(DCdouble));