IOT-2204: Fix IPCA build warnings on Linux.
authorSoemin Tjong <stjong@microsoft.com>
Wed, 24 May 2017 17:49:59 +0000 (10:49 -0700)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Fri, 26 May 2017 00:19:19 +0000 (00:19 +0000)
A couple of warnings didn't get fixed earlier.

resource/IPCA/src/ocfframework.cpp:237:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
resource/IPCA/src/ocfframework.cpp:255:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

Change-Id: Id901213b83a45a0f6798d7f2b8c501339b7af71c
Signed-off-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20367
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/IPCA/src/ocfframework.cpp

index a28853bb9ee58848939fc01df539f0f5e6f64a26..3b7df9754683840a3e014243c2cc2fb9e2f0b757 100644 (file)
@@ -234,7 +234,7 @@ IPCAStatus OCFFramework::Start(const IPCAAppInfoInternal& appInfo, bool isUnitTe
         if (ret != OIC_PLATFORM_OK)
         {
             OIC_LOG_V(FATAL, TAG,
-                "Failed to get persistent storage path from OICGetLocalAppDataPath, ret: %"PRIuPTR,
+                "Failed to get persistent storage path from OICGetLocalAppDataPath, ret: %" PRIuPTR,
                 static_cast<size_t>(ret));
             OICFree(psPath);
             return IPCA_FAIL;
@@ -252,7 +252,7 @@ IPCAStatus OCFFramework::Start(const IPCAAppInfoInternal& appInfo, bool isUnitTe
         if (ret != OIC_PLATFORM_NOTIMPL)
         {
             OIC_LOG_V(FATAL, TAG,
-                "Failed to get path length from OICGetLocalAppDataPath, ret: %"PRIuPTR,
+                "Failed to get path length from OICGetLocalAppDataPath, ret: %" PRIuPTR,
                 static_cast<size_t>(ret));
             // An error occurred, fail
             return IPCA_FAIL;