mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-23 07:39:17 +02:00
Partial revert of last commit
Revert incorrect changes to gdbusmessage.c
This commit is contained in:
parent
d28bce02dc
commit
6bc20651ec
@ -1186,10 +1186,7 @@ parse_value_from_blob (GMemoryInputStream *mis,
|
|||||||
v = g_data_input_stream_read_uint64 (dis, NULL, &local_error);
|
v = g_data_input_stream_read_uint64 (dis, NULL, &local_error);
|
||||||
if (local_error != NULL)
|
if (local_error != NULL)
|
||||||
goto fail;
|
goto fail;
|
||||||
if (1)
|
G_STATIC_ASSERT (sizeof (gdouble) == sizeof (guint64));
|
||||||
{
|
|
||||||
G_STATIC_ASSERT (sizeof (gdouble) == sizeof (guint64));
|
|
||||||
}
|
|
||||||
encoded = (gdouble *) &v;
|
encoded = (gdouble *) &v;
|
||||||
ret = g_variant_new_double (*encoded);
|
ret = g_variant_new_double (*encoded);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user