mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +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"));
|
show_error(loc("Invalid date format"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sprintf(list+i*NAME_LENGTH, "%d", ltime);
|
sprintf(list+i*NAME_LENGTH, "%d", (int)ltime);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check if text column is present */
|
/* 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"));
|
show_error(loc("Invalid date format"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sprintf(list+i*NAME_LENGTH, "%d", ltime);
|
sprintf(list+i*NAME_LENGTH, "%d", (int)ltime);
|
||||||
}
|
}
|
||||||
|
|
||||||
encoding[0] = 0;
|
encoding[0] = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user