epam / nfstrace

Network file system monitor and analyzer
http://epam.github.io/nfstrace/
GNU General Public License v2.0
149 stars 33 forks source link

analyzers: fix a couple format errors #51

Open enr0n opened 2 years ago

enr0n commented 2 years ago

A couple mvwprintw() calls result in build errors like:

error: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘time_t’ {aka ‘long int’} [-Werror=format=]

Update these calls to use the correct format specifiers.

agrenott commented 1 year ago

Thanks @enr0n , fixes compilation on Gentoo as well. PR worth integrating.