mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-27 04:32:15 +01:00
Merge branch 'th/guuid-parse-shift' into 'master'
guuid: fix shift operation to parse hex string in uuid_parse_string() See merge request GNOME/glib!2080
This commit is contained in:
commit
327f9e20e8
@ -113,7 +113,7 @@ uuid_parse_string (const gchar *str,
|
|||||||
if (hi == -1 || lo == -1)
|
if (hi == -1 || lo == -1)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
bytes[i++] = hi << 8 | lo;
|
bytes[i++] = hi << 4 | lo;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uuid != NULL)
|
if (uuid != NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user