Fixed compiler warning

SVN revision: 1918
This commit is contained in:
Stefan Ritt 2007-09-18 13:19:43 +00:00
parent 664c2ca356
commit 5a9245e96f

View File

@ -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;