off_t returns long in 32bit environment but long long in 64bit
so that it causes build error.
jd makes g_print expect a intmax_t-sized integer.
Change-Id: I5686483df98aa60910047ba694a9d212af42f9e5
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
off_t fsize;
fsize = lseek(fd, 0, SEEK_END);
g_print("************TUNE FILE GENERATED**************\n");
- g_print("Location \n[%s] \nSize \n[%lld]\n", tune_file.c_str(), fsize);
+ g_print("Location \n[%s] \nSize \n[%jd]\n", tune_file.c_str(), static_cast<intmax_t>(fsize));
g_print("*-------------------------------------------*\n\n\n");
close(fd);