Provide enough space for 64-bit unsigned long

This commit is contained in:
Pierre Pronchery 2020-01-31 00:19:07 +01:00
parent 0e6ce81f90
commit c524fc944c

View File

@ -212,7 +212,7 @@ int task_set_done(Task * task, int done)
/* task_set_end */ /* task_set_end */
int task_set_end(Task * task, time_t end) int task_set_end(Task * task, time_t end)
{ {
char buf[16]; char buf[32];
if(end == 0) if(end == 0)
return config_set(task->config, NULL, "end", NULL); return config_set(task->config, NULL, "end", NULL);