broadway: Restore guint32 type for memory size

guint32 is used as part of the protocol in broadway backend.
Memory size declared with it was mistakenly replaced with size_t type
which does not guarantee being 32bit on all platforms, leading to a crash.
This commit is contained in:
Rafał Dzięgiel 2021-02-27 23:43:01 +01:00
parent 4721e760e7
commit d586410416
No known key found for this signature in database
GPG Key ID: E822910AA836E1B1

View File

@ -235,7 +235,7 @@ static void
parse_all_input (GdkBroadwayServer *server)
{
guint8 *p, *end;
size_t size;
guint32 size;
BroadwayReply *reply;
p = server->recv_buffer;