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;
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);
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;