Fix a printf format goof.

Forgot to compile test :/
This commit is contained in:
Bill Currie 2012-10-26 19:38:59 +09:00
parent 52b9721027
commit 3f351a5c88

View file

@ -165,7 +165,7 @@ parse_params (type_t *type, param_t *parms)
}
if (!p->selector && !p->type && !p->name) {
if (p->next)
internal_error (0, "");
internal_error (0, 0);
new->t.func.num_params = -(new->t.func.num_params + 1);
} else if (p->type) {
new->t.func.param_types[new->t.func.num_params] = p->type;