core: struct_set_: Oops typo.

* src/struct.c (struct_set_x_): Oops, remove indirection.
This commit is contained in:
Jan Nieuwenhuizen 2018-11-14 08:16:58 +01:00
parent b4d18e646a
commit 1425127012
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ SCM
struct_set_x_ (SCM x, long i, SCM e)
{
assert (TYPE (x) == TSTRUCT);
assert (VALUE (i) < LENGTH (x));
assert (i < LENGTH (x));
g_cells[STRUCT (x)+i] = g_cells[vector_entry (e)];
return cell_unspecified;
}