]> git.eshelyaron.com Git - emacs.git/commitdiff
* dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux.
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 25 Jan 2008 18:56:46 +0000 (18:56 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 25 Jan 2008 18:56:46 +0000 (18:56 +0000)
src/dbusbind.c

index badcf1f14d729bed16f3a86955fe1818bba34ea7..4bc48f3b6e95fbf64bc2bdf3b082d9ada57a7c35 100644 (file)
@@ -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: