unsigned n_vertices = mesh.get_n_vertices();
for(unsigned i=0; i<n_vertices; ++i)
{
- float *pos = mesh.modify_vertex(i)+pos_offset;
+ float *pos = reinterpret_cast<float *>(mesh.modify_vertex(i)+pos_offset);
pos[0] += horz_adjust;
pos[1] += vert_adjust;
}