From 79ff11c9236eb57e36ab599fc86394f87ee3e5a8 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sun, 24 Apr 2022 17:03:00 +0200 Subject: [PATCH] Use proper format for size_t printf --- deps/dragonstd | 2 +- deps/protogen | 2 +- src/client/client_entity.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/dragonstd b/deps/dragonstd index a3a5043..7d8cdee 160000 --- a/deps/dragonstd +++ b/deps/dragonstd @@ -1 +1 @@ -Subproject commit a3a50433ffe0674291d4c5e9d2247cca7f691faa +Subproject commit 7d8cdeeb49fc6fa0b4b7ac9c3bb3e1fb27f4f0bf diff --git a/deps/protogen b/deps/protogen index 97963be..2200835 160000 --- a/deps/protogen +++ b/deps/protogen @@ -1 +1 @@ -Subproject commit 97963be1d8fbc53dce1b116f1d62340dee83383c +Subproject commit 2200835ac31adfa47f2baaa93f0a79a7c9a9007c diff --git a/src/client/client_entity.c b/src/client/client_entity.c index c06e1e4..7dfd795 100644 --- a/src/client/client_entity.c +++ b/src/client/client_entity.c @@ -261,7 +261,7 @@ void client_entity_add(__attribute__((unused)) void *peer, ToClientEntityAdd *pk pthread_rwlock_init(&entity->lock_box_off, NULL); if (!map_add(&entities, &entity->data.id, &entity->rc, &cmp_entity, &refcount_inc)) - fprintf(stderr, "[warning] failed to add entity %lu\n", entity->data.id); + fprintf(stderr, "[warning] failed to add entity %zu\n", entity->data.id); refcount_drp(&entity->rc); } -- 2.44.0