commit | 42e3a720a8e87fb45d535989830066b343c4a940 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@chromium.org> | Sat Nov 15 06:48:08 2014 -0500 |
committer | Mike Frysinger <vapier@chromium.org> | Sat Nov 15 11:51:17 2014 +0000 |
tree | ede366ab32ce5f91fb98c67d23c466cf35fae2f9 | |
parent | 2b7c4ddbc7ffe74151180b89dd1eac6c5d59728b [diff] |
buffet: fix signed warnings Newer gcc complains about signed mismatch like so: error: comparison between signed and unsigned integer expressions [ BUG=chromium:423463 TEST=None Change-Id: I8ab4a4c834f5972c66ed7cbfc54e9648bcfb201f Reviewed-on: https://chromium-review.googlesource.com/230011 Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/buffet/commands/dbus_command_dispatcher_unittest.cc b/buffet/commands/dbus_command_dispatcher_unittest.cc index f11dd56..af15c1d 100644 --- a/buffet/commands/dbus_command_dispatcher_unittest.cc +++ b/buffet/commands/dbus_command_dispatcher_unittest.cc
@@ -109,7 +109,7 @@ } DBusCommandProxy* FindProxy(CommandInstance* command_instance) { - CHECK_EQ(command_instance->proxies_.size(), 1); + CHECK_EQ(command_instance->proxies_.size(), 1U); return static_cast<DBusCommandProxy*>(command_instance->proxies_[0].get()); }
diff --git a/buffet/commands/dbus_command_proxy_unittest.cc b/buffet/commands/dbus_command_proxy_unittest.cc index 94b4906..3cb907d 100644 --- a/buffet/commands/dbus_command_proxy_unittest.cc +++ b/buffet/commands/dbus_command_proxy_unittest.cc
@@ -107,7 +107,7 @@ } DBusCommandProxy* GetCommandProxy() const { - CHECK_EQ(command_instance_->proxies_.size(), 1); + CHECK_EQ(command_instance_->proxies_.size(), 1U); return static_cast<DBusCommandProxy*>(command_instance_->proxies_[0].get()); }