From: Michael Albinus Date: Fri, 25 Jan 2008 18:56:46 +0000 (+0000) Subject: * dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux. X-Git-Tag: emacs-pretest-23.0.90~8410 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b35c64e48f4d1d71e7bb3b1bfc0b1de2d2eb3f9a;p=emacs.git * dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux. --- diff --git a/src/dbusbind.c b/src/dbusbind.c index badcf1f14d7..4bc48f3b6e9 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c @@ -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: