mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01: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:
parent
08dee06b59
commit
0d42af06e0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user