server fix cast mqttd.c

This commit is contained in:
Viktor Szakats 2026-03-07 13:59:14 +01:00
parent 645b70ecb7
commit 094cfd8aa2
No known key found for this signature in database

View file

@ -155,7 +155,7 @@ static void logprotocol(mqttdir dir,
}
fprintf(output, "%s %s %x %s\n",
dir == FROM_CLIENT ? "client" : "server",
prefix, (int)remlen, data);
prefix, (unsigned int)remlen, data);
}
/* return 0 on success */