Fix of 'warning: conversion to ‘dbus_bool_t‘ from ‘int‘ may change the sign of the...
authorRalf Habacker <ralf.habacker@freenet.de>
Wed, 4 Mar 2015 07:28:09 +0000 (08:28 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Wed, 4 Mar 2015 11:32:53 +0000 (12:32 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89284
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
tools/dbus-send.c

index 2a99e9a..0dc1f5b 100644 (file)
@@ -230,8 +230,8 @@ main (int argc, char *argv[])
   DBusConnection *connection;
   DBusError error;
   DBusMessage *message;
-  int print_reply;
-  int print_reply_literal;
+  dbus_bool_t print_reply;
+  dbus_bool_t print_reply_literal;
   int reply_timeout;
   DBusMessageIter iter;
   int i;