mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-14 14:25:13 +02:00
gthreadedresolver: Treat query and answer counts as unsigned
They can’t be negative. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
@ -738,7 +738,7 @@ g_resolver_records_from_res_query (const gchar *rrname,
|
||||
gint herr,
|
||||
GError **error)
|
||||
{
|
||||
gint count;
|
||||
uint16_t count;
|
||||
gchar namebuf[1024];
|
||||
const guint8 *end, *p;
|
||||
guint16 type, qclass, rdlength;
|
||||
|
Reference in New Issue
Block a user