aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbusbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r--src/dbusbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c
index 57625d3876e..1b6642b834f 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -1,5 +1,5 @@
1/* Elisp bindings for D-Bus. 1/* Elisp bindings for D-Bus.
2 Copyright (C) 2007 Free Software Foundation, Inc. 2 Copyright (C) 2007, 2008 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -341,7 +341,7 @@ xd_append_arg (dtype, object, iter)
341 { 341 {
342 case DBUS_TYPE_BYTE: 342 case DBUS_TYPE_BYTE:
343 { 343 {
344 unsigned int val = XUINT (object) & 0xFF; 344 unsigned char val = XUINT (object) & 0xFF;
345 XD_DEBUG_MESSAGE ("%c %d", dtype, val); 345 XD_DEBUG_MESSAGE ("%c %d", dtype, val);
346 if (!dbus_message_iter_append_basic (iter, dtype, &val)) 346 if (!dbus_message_iter_append_basic (iter, dtype, &val))
347 xsignal2 (Qdbus_error, 347 xsignal2 (Qdbus_error,