1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-11-26 21:30:19 +00:00

lmem.h: new laikaM_*Vector macros

- these will slowly replace laikaM_*array
- lpeer.[ch] has been migrated
This commit is contained in:
2022-09-01 18:47:29 -05:00
parent dbbe5f5a2a
commit af09e74263
4 changed files with 68 additions and 42 deletions

View File

@@ -455,7 +455,7 @@ bool laikaC_iterPeersNext(struct sLaika_cnc *cnc, size_t *i, struct sLaika_peer
{
tCNC_PeerHashElem *elem;
if (hashmap_iter(cnc->peers, i, (void *)&elem)) {
if (hashmap_iter(cnc->peers, i, (void **)&elem)) {
*peer = elem->peer;
return true;
}