From b35c64e48f4d1d71e7bb3b1bfc0b1de2d2eb3f9a Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Fri, 25 Jan 2008 18:56:46 +0000 Subject: [PATCH] * dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux. --- src/dbusbind.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: -- 2.39.5