fix gcc build

This commit is contained in:
dzaima 2022-03-16 14:14:31 +02:00
parent 7b031a2aa0
commit c1d2dd7168

View File

@ -163,12 +163,13 @@ DEF_G(void, copy, B, (Mut* m, usz ms, B x, usz xs, usz l)) {
case t_f64arr: case t_f64slice: case t_f64arr: case t_f64slice:
memcpy(mpo, f64any_ptr(x)+xs, l*sizeof(B)); memcpy(mpo, f64any_ptr(x)+xs, l*sizeof(B));
return; return;
default: default: {
SGet(x) SGet(x)
for (usz i = 0; i < l; i++) mpo[i] = Get(x,i+xs); for (usz i = 0; i < l; i++) mpo[i] = Get(x,i+xs);
return; return;
} }
} }
}
static B m_getU_MAX(Mut* m, usz ms) { err("m_setG_MAX"); } static B m_getU_MAX(Mut* m, usz ms) { err("m_setG_MAX"); }
static B m_getU_bit(Mut* m, usz ms) { return m_i32(bitp_get(m->abit, ms)); } static B m_getU_bit(Mut* m, usz ms) { return m_i32(bitp_get(m->abit, ms)); }