From 316b0e6df4ca46a4ceaa7c3c1933c557d877d272 Mon Sep 17 00:00:00 2001 From: "libing3@huawei.com" Date: Mon, 16 Aug 2021 15:10:32 +0800 Subject: [PATCH] Support 64-bit compile Signed-off-by: libing3@huawei.com Change-Id: I2eb4112dba972caf4b96d45f76c440e8099b8bcb --- device/plugins/api/src/plugin_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/plugins/api/src/plugin_manager.cpp b/device/plugins/api/src/plugin_manager.cpp index 96fb3f8a6..e531a5a79 100644 --- a/device/plugins/api/src/plugin_manager.cpp +++ b/device/plugins/api/src/plugin_manager.cpp @@ -210,7 +210,7 @@ bool PluginManager::StartPluginSession(const std::vector& pluginIds, } if (pluginModules_[id]->GetSampleMode() == PluginModule::POLLING) { if (idx > config.size()) { - HILOG_WARN(LOG_CORE, "idx %d out of size %zu", idx, config.size()); + HILOG_WARN(LOG_CORE, "idx %zu out of size %zu", idx, config.size()); return false; } uint32_t sampleInterval = config[idx].sample_interval(); -- Gitee