WID:3704077 Unsafe conversion of expression 'timestamp' with type
'unsigned int' to implementation defined type '__time_t' may or may not
override sign-bit depending on size of implementation defined type,
which may cause unexpected results on porting to different platforms
http://10.240.209.78:12000/v2/warning/warningListView#PRJID=2&WGID=16564
Change-Id: I5bbcfd9c719ba0f31b87155487fe091bfef49a58
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
if(fd >= 0) {
struct utimbuf u;
sdb_close(fd);
- u.actime = timestamp;
- u.modtime = timestamp;
+ u.actime = (time_t)timestamp;
+ u.modtime = (time_t)timestamp;
utime(path, &u);
msg.status.id = ID_OKAY;