Closed andronat closed 4 years ago
GCC 9 was complaining with the following
time.c: In function ‘main’: time.c:11:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘time_t’ {aka ‘long int’} [-Wformat=] 11 | printf("Time: %d\n", time(0)); | ~^ ~~~~~~~ | | | | int time_t {aka long int} | %ld
Thank you
GCC 9 was complaining with the following