summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Oleynik <aoleynik@luxoft.com>2016-04-28 13:13:33 +0300
committerAndrey Oleynik <aoleynik@luxoft.com>2016-04-28 13:13:33 +0300
commitc4604c3083fbe1797b4a206ffadd211636f8f369 (patch)
tree0262e14db9ba8e3fb5c36d190f5cc309067a7fd5
parentdf8d98e31f713779232ead569163c8e27804795f (diff)
downloadsdl_core-c4604c3083fbe1797b4a206ffadd211636f8f369.tar.gz
Fixes build warning for 32-bit Ubuntu
Implements: APPLINK-22313
-rw-r--r--src/components/application_manager/src/commands/mobile/on_system_request_notification.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc b/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc
index 2ac96e61b0..90ec18d3b1 100644
--- a/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc
+++ b/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc
@@ -108,7 +108,7 @@ void OnSystemRequestNotification::AddHeader(BinaryMessage& message) const {
char size_str[24];
- if (0 > sprintf(size_str, "%lu", message.size())) {
+ if (0 > sprintf(size_str, "%zu", static_cast<size_t>(message.size()))) {
memset(size_str, 0, sizeof(size_str));
}