add: -Wpedantic build flag and fix code

This commit is contained in:
Tobias Reisinger 2020-04-23 16:59:46 +02:00
parent 11f1a79d6a
commit 5b9f2aa49b
7 changed files with 15 additions and 13 deletions

View file

@ -66,7 +66,7 @@ schedule_debug(schedule_t *schedule)
}
char uuid_str[37];
uuid_unparse(schedule->id, uuid_str);
LOG_DEBUG("(1/3) %s @ %p", uuid_str, schedule);
LOG_DEBUG("(1/3) %s @ %p", uuid_str, (void*)schedule);
LOG_DEBUG("(2/3) period count: %3d", schedule->length);
// one block: "HH:MM-HH:MM, " --> size: 13 (14 with '\0')