* dbusbind.c: Use XFASTINT rather than XUINT, and check for nonneg.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 May 2011 01:59:17 +0000 (18:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 May 2011 01:59:17 +0000 (18:59 -0700)
commit2d1fc3c73cd8b771cbfb1114f7f85dc0273d24e3
tree15889e3086ebad411afab40a167690f802651ec6
parentc8a9ca5a6456e7d0ec9577493d5110b692b818bf
* dbusbind.c: Use XFASTINT rather than XUINT, and check for nonneg.

(Fdbus_call_method, Fdbus_call_method_asynchronously):
Use XFASTINT rather than XUINT when numbers are nonnegative.
(xd_append_arg, Fdbus_method_return_internal):
(Fdbus_method_error_internal): Likewise.  Also, for unsigned
arguments, check that Lisp number is nonnegative, rather than
silently wrapping negative numbers around.
src/ChangeLog
src/dbusbind.c