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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user