mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 21:35:02 +00:00
trivial: Fix a warning when compiling the unifying plugin
This commit is contained in:
parent
803e4808af
commit
c591460ff8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user