[dpdk-dev] [PATCH v2] testpmd: fix wrong variable type in ieee1588fwd for 32 bits

Lu, Wenzhuo wenzhuo.lu at intel.com
Wed Jul 22 10:11:02 CEST 2015


Hi,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara
> Sent: Wednesday, July 22, 2015 4:07 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2] testpmd: fix wrong variable type in ieee1588fwd
> for 32 bits
> 
> In ieee1588fwd.c, timestamp.tv_sec is a time_t variable, which is a long int, but
> it was being printed with PRIu64, causing an issue on 32 bits.
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>



More information about the dev mailing list