[Non-ACR] Resolving build error for x86_64 & aarch64 30/228430/2 submit/tizen_5.5/20200323.054608
authorAmogh Gaur <amogh.gaur@samsung.com>
Mon, 23 Mar 2020 05:30:45 +0000 (11:00 +0530)
committerRandeep Singh <randeep.s@samsung.com>
Mon, 23 Mar 2020 05:42:45 +0000 (05:42 +0000)
Change-Id: I3d597f30a93e5bc87b0b55ae9001d09d422c67dc
Signed-off-by: Amogh Gaur <amogh.gaur@samsung.com>
src/client/app_history.cpp

index 46798e9..0ed229b 100644 (file)
@@ -33,7 +33,8 @@ static ServiceProxy* __getServiceProxy()
 
 EXPORT_API int ctx_history_query(const char* uri, int64_t start_time, int64_t end_time, unsigned int result_size, ctx_history_cursor_h* cursor)
 {
-       _I("uri[%s], start_time[%lld], end_time[%lld], result_sz[%u]", uri, start_time, end_time, result_size);
+       _I("uri[%s], start_time[%ld], end_time[%ld], result_sz[%u]", \
+                       uri, (long int)start_time, (long int)end_time, result_size);
        Json::Value filter;
        filter[KEY_START_TIME] = start_time;
        filter[KEY_END_TIME] = end_time;
@@ -189,7 +190,7 @@ static int __getIndexOf(ctx_history_cursor_h cursor, const std::string& key)
 
 EXPORT_API int ctx_history_cursor_get_int64(ctx_history_cursor_h cursor, const char* key, int64_t* value)
 {
-       _I("__called_ - key[%s], value[%lld]", key, *value);
+       _I("__called_ - key[%s], value[%ld]", key, (long int)*value);
        IF_FAIL_RETURN(cursor && key && value, E_PARAM);
 
        int idx = __getIndexOf(cursor, key);
@@ -240,7 +241,7 @@ EXPORT_API int ctx_history_cursor_get_string(ctx_history_cursor_h cursor, const
 
 EXPORT_API int ctx_history_get_last_fully_charged_time(int64_t* timestamp)
 {
-       _I("__called__ - timestamp[%lld]", *timestamp);
+       _I("__called__ - timestamp[%ld]", (long int)*timestamp);
        IF_FAIL_RETURN(timestamp, E_PARAM);
 
        GVariant* output = NULL;