value: init flag mask more correctly

This commit is contained in:
Tim-Philipp Müller 2014-05-04 14:52:01 +01:00
parent 45c0831835
commit 4e1699e030

View file

@ -2530,7 +2530,7 @@ gst_value_deserialize_int_helper (gint64 * to, const gchar * s,
{
gboolean ret = FALSE;
gchar *end;
guint64 mask = -1;
guint64 mask = ~0;
errno = 0;
*to = g_ascii_strtoull (s, &end, 0);