+2008-01-03 Magnus Henoch <magnus@zemdatav>
+
+ * dbusbind.c (xd_append_arg): Use unsigned char instead of
+ unsigned int for byte values (necessary for big-endian platform).
+
2007-12-31 Tom Tromey <tromey@redhat.com> (tiny change)
* dbusbind.c (xd_read_message): Use non-static input_event struct.
/* Elisp bindings for D-Bus.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2008 Free Software Foundation, Inc.
This file is part of GNU Emacs.
{
case DBUS_TYPE_BYTE:
{
- unsigned int val = XUINT (object) & 0xFF;
+ unsigned char val = XUINT (object) & 0xFF;
XD_DEBUG_MESSAGE ("%c %d", dtype, val);
if (!dbus_message_iter_append_basic (iter, dtype, &val))
xsignal2 (Qdbus_error,