Skip to content
Snippets Groups Projects
Commit aa03dfb2 authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

net-mgmt/tcptrack: fix build on armv7 / powerpc

TextUI.cc:306:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat]
  306 |                         printw("%ds",ic->getIdleSeconds());
      |                                 ~~   ^~~~~~~~~~~~~~~~~~~~
      |                                 %lld
TextUI.cc:308:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat]
  308 |                         printw("%dm",ic->getIdleSeconds()/60);
      |                                 ~~   ^~~~~~~~~~~~~~~~~~~~~~~
      |                                 %lld
TextUI.cc:310:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat]
  310 |                         printw("%dh",ic->getIdleSeconds()/3600);
      |                                 ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 %lld
3 errors generated.
parent 1530fd2a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment