When compiling with 4.1, gcc has 3 complains. In this pull request I fix two of them. One in particular looks like a bug: as an array is written beyond its last element.
The third complain relates to the use of the macros DATE and TIME. I resolved it locally adding in the Makefile a flag to ignore the warning, however this is not part of this pull request, as I noticed there is another pull request at this purpose.
When compiling with 4.1, gcc has 3 complains. In this pull request I fix two of them. One in particular looks like a bug: as an array is written beyond its last element.
The third complain relates to the use of the macros DATE and TIME. I resolved it locally adding in the Makefile a flag to ignore the warning, however this is not part of this pull request, as I noticed there is another pull request at this purpose.