Since int64_t is translating into 'long long int' on 32bit, but
'long int' on 64bit. So, "%lld" cannot satisfying both architectures.
This patch uses PRId64 instead of "%lld" to adjust the format string
as following the corresponding architecture.
Change-Id: Iac0d14ac1ccff7b6fba187fc3205e2c81271727b
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
+#include <inttypes.h>
#include <pass/device-notifier.h>
#include <pass/config-parser.h>
pmqos->scenarios[index].pmqos.locked_time = get_time_ms();
} else {
- _I("UnLock '%s' scenario for '%s' resource (%lldms)\n",
+ _I("UnLock '%s' scenario for '%s' resource (%"PRId64"ms)\n",
name, config_data->res_name,
(get_time_ms() - pmqos->scenarios[index].pmqos.locked_time));