Fix (harmless) typo.

This commit is contained in:
Mike Pall 2011-09-21 08:22:07 +02:00
parent da9c74f163
commit 3c998f6c3c

View File

@ -415,7 +415,7 @@ static CTypeID ccall_ctid_vararg(CTState *cts, cTValue *o)
} else if (ctype_isstruct(s->info) || ctype_isfunc(s->info)) { } else if (ctype_isstruct(s->info) || ctype_isfunc(s->info)) {
/* NYI: how to pass a struct by value in a vararg argument? */ /* NYI: how to pass a struct by value in a vararg argument? */
return lj_ctype_intern(cts, CTINFO(CT_PTR, CTALIGN_PTR|id), CTSIZE_PTR); return lj_ctype_intern(cts, CTINFO(CT_PTR, CTALIGN_PTR|id), CTSIZE_PTR);
} if (ctype_isfp(s->info) && s->size == sizeof(float)) { } else if (ctype_isfp(s->info) && s->size == sizeof(float)) {
return CTID_DOUBLE; return CTID_DOUBLE;
} else { } else {
return id; return id;