mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warning
SVN revision: 1918
This commit is contained in:
parent
664c2ca356
commit
5a9245e96f
@ -13526,7 +13526,7 @@ void csv_import(LOGBOOK * lbs, char *csv, char *csvfile)
|
||||
show_error(loc("Invalid date format"));
|
||||
return;
|
||||
}
|
||||
sprintf(list+i*NAME_LENGTH, "%d", ltime);
|
||||
sprintf(list+i*NAME_LENGTH, "%d", (int)ltime);
|
||||
}
|
||||
|
||||
/* check if text column is present */
|
||||
@ -13862,7 +13862,7 @@ void xml_import(LOGBOOK * lbs, char *xml, char *xmlfile)
|
||||
show_error(loc("Invalid date format"));
|
||||
return;
|
||||
}
|
||||
sprintf(list+i*NAME_LENGTH, "%d", ltime);
|
||||
sprintf(list+i*NAME_LENGTH, "%d", (int)ltime);
|
||||
}
|
||||
|
||||
encoding[0] = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user