Commit b35c64e4 authored by Michael Albinus's avatar Michael Albinus
Browse files

* dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux.

parent 79235cbe
......@@ -594,10 +594,14 @@ xd_retrieve_arg (dtype, iter)
case DBUS_TYPE_INT32:
case DBUS_TYPE_UINT32:
{
/* Assignment to EMACS_INT stops GCC whining about limited
range of data type. */
dbus_uint32_t val;
EMACS_INT val1;
dbus_message_iter_get_basic (iter, &val);
XD_DEBUG_MESSAGE ("%c %d", dtype, val);
return make_fixnum_or_float (val);
val1 = val;
return make_fixnum_or_float (val1);
}
case DBUS_TYPE_INT64:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment