From c28ff8c07350ad854f0e427402c23cb0bd87c638 Mon Sep 17 00:00:00 2001 From: Janusz Kozerski Date: Thu, 4 Jul 2013 11:49:31 +0200 Subject: [PATCH] Fix buildbreak on GCC 4.8 [Issue#] SSDWSSP-370 [Bug/Feature] Fix buildbreak on GCC 4.8 [Cause] N/A [Solution] N/A [Verification] Compile with GCC 4.8 Change-Id: Ib74302223deca9c1d5f9441755ffba209d510df4 --- tests/security-server-tests/security_server_tests_weird_arguments.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/security-server-tests/security_server_tests_weird_arguments.cpp b/tests/security-server-tests/security_server_tests_weird_arguments.cpp index 9acdeff..69cd021 100644 --- a/tests/security-server-tests/security_server_tests_weird_arguments.cpp +++ b/tests/security-server-tests/security_server_tests_weird_arguments.cpp @@ -20,7 +20,7 @@ RUNNER_TEST_GROUP_INIT(SECURITY_SERVER_TESTS_WEIRD_ARGUMENTS); RUNNER_TEST(tc01_security_server_get_gid_weird_input_case) { int ret = 0; - char weird[] = {0xe3,0x79,0x82,0x0}; + char weird[] = {static_cast (0xe3), 0x79, static_cast (0x82), 0x0}; /* normal param case */ ret = security_server_get_gid("tel_sim"); -- 2.7.4