changeset 87972:f42bf2712087

* dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux.
author Michael Albinus <michael.albinus@gmx.de>
date Fri, 25 Jan 2008 18:56:46 +0000
parents 432547fdf52f
children b3422590d572
files src/dbusbind.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dbusbind.c	Fri Jan 25 18:56:19 2008 +0000
+++ b/src/dbusbind.c	Fri Jan 25 18:56:46 2008 +0000
@@ -594,10 +594,14 @@
     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: