Fixed compiler warning

SVN revision: 2278
This commit is contained in:
Stefan Ritt 2009-12-02 10:53:44 +00:00
parent d14433f218
commit 818713ae13

View File

@ -19727,7 +19727,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
} else if (strieq(sort_attr[i], loc("Date"))) {
strlcat(msg_list[index].string, " ", sizeof(msg_list[index].string));
entry_ltime = date_to_ltime(date);
sprintf(str, "%08d", entry_ltime);
sprintf(str, "%08d", (int)entry_ltime);
strlcat(msg_list[index].string, str, sizeof(msg_list[index].string));
}
}