]> git.eshelyaron.com Git - emacs.git/commitdiff
(xd_append_arg): Omit range check that is not needed
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Sep 2011 20:17:01 +0000 (13:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Sep 2011 20:17:01 +0000 (13:17 -0700)
on any practical host.  GCC 4.6.1 incorrectly complains
about it on x86-64.

src/dbusbind.c

index 72cef0cbc862e496a9a1511799a2bdf7b39f9150..e930ad16fe167b9b14041b90930ed77c87eb9121 100644 (file)
@@ -528,7 +528,7 @@ xd_append_arg (unsigned int dtype, Lisp_Object object, DBusMessageIter *iter)
        }
 
       case DBUS_TYPE_INT64:
-       CHECK_TYPE_RANGED_INTEGER (dbus_int64_t, object);
+       CHECK_NUMBER (object);
        {
          dbus_int64_t val = XINT (object);
          XD_DEBUG_MESSAGE ("%c %d", dtype, (int) val);