diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-18 21:33:19 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-07-18 21:33:19 +0000 |
commit | 512426b01bfa72a3c0d21b1ffbefd46bd7ebe306 (patch) | |
tree | e897bb966a0530f67fb9cfd74e8cc391d6748e8b /tests/test-device.cc | |
parent | 2d06cbb066f9ae0a0a49d5d260ebe28bb17311fc (diff) | |
parent | 9f1ebe8f6c412ab18bdf32bf949fc00152d9671b (diff) | |
download | ayatana-indicator-power-512426b01bfa72a3c0d21b1ffbefd46bd7ebe306.tar.gz ayatana-indicator-power-512426b01bfa72a3c0d21b1ffbefd46bd7ebe306.tar.bz2 ayatana-indicator-power-512426b01bfa72a3c0d21b1ffbefd46bd7ebe306.zip |
Switch from automake/autoconf to CMake.
Approved by: Ted Gould, PS Jenkins bot
Diffstat (limited to 'tests/test-device.cc')
-rw-r--r-- | tests/test-device.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-device.cc b/tests/test-device.cc index 7d54816..81e8a22 100644 --- a/tests/test-device.cc +++ b/tests/test-device.cc @@ -710,10 +710,10 @@ TEST_F(DeviceTest, ChoosePrimary) std::vector<IndicatorPowerDevice*> devices; for(const auto& desc : descriptions) - devices.push_back(indicator_power_device_new(desc.path, desc.kind, desc.percentage, desc.state, desc.time)); + devices.push_back(indicator_power_device_new(desc.path, desc.kind, desc.percentage, desc.state, (time_t)desc.time)); const struct { - std::vector<int> device_indices; + std::vector<unsigned int> device_indices; Description expected; } tests[] = { |