Hi,

On 26/06/2023 15:09, Sergey Korolev via Openvpn-devel wrote:
Avoid compilation warnings on 32 bit platforms.

dco_linux.c: In function 'dco_update_peer_stat':
dco_linux.c:830:26: error: format '%lu' expects argument of type
'long unsigned int', but argument 4 has type 'counter_type'
{aka 'long long unsigned int'} [-Werror=format=]
   830 |         msg(D_DCO_DEBUG, "%s / dco_read_bytes: %lu", __func__,
       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
   831 |             c2->dco_read_bytes);
       |             ~~~~~~~~~~~~~~~~~~
       |               |
       |               counter_type {aka long long unsigned int}

Signed-off-by: Sergey Korolev <sergey.koro...@keenetic.com>

Thanks for catching this!

Acked-by: Antonio Quartulli <a...@unstable.cc>

--
Antonio Quartulli


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to