trivial: Fix a warning when compiling the unifying plugin

This commit is contained in:
Richard Hughes 2016-12-14 10:52:44 +00:00
parent 803e4808af
commit c591460ff8

View File

@ -472,7 +472,7 @@ static guint8
read_uint8 (const gchar *str)
{
guint64 tmp;
guint8 buf[3] = { 0x0, 0x0, 0x0 };
gchar buf[3] = { 0x0, 0x0, 0x0 };
memcpy (buf, str, 2);
tmp = g_ascii_strtoull (buf, NULL, 16);
return tmp;