mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
value: Use an unsigned 64 bit integer as a mask
We shift the mask to the right later and shifting the result of shifting over the sign bit is undefined.
This commit is contained in:
parent
63c1728040
commit
3cbcfa1d7e
1 changed files with 1 additions and 1 deletions
|
@ -2532,7 +2532,7 @@ gst_value_deserialize_int_helper (gint64 * to, const gchar * s,
|
|||
{
|
||||
gboolean ret = FALSE;
|
||||
gchar *end;
|
||||
gint64 mask = -1;
|
||||
guint64 mask = -1;
|
||||
|
||||
errno = 0;
|
||||
*to = g_ascii_strtoull (s, &end, 0);
|
||||
|
|
Loading…
Reference in a new issue