fishfolk / bones

An easy-to-use game engine for making real games.
https://fishfolk.org/development/bones/introduction/
Other
236 stars 20 forks source link

fix: fix undefined behavior in `SVec::pop()`. #441

Closed zicklag closed 3 months ago

zicklag commented 3 months ago

Fixes a mistake regarding the behavior of copy_from_nonoverlapping(). When copying from a typed pointer, we provide the number items to copy, not the number of bytes.