Skip to content
Commit 616b91c0 authored by Pierre Gondois's avatar Pierre Gondois
Browse files

perf: cast (struct timeval).tv_sec when printing

The musl-libc [1] defines (struct timeval).tv_sec as a
'long long' for arm and other architectures. The default
build having a '-Wformat' flag, not casting the field
when printing prevents from building perf.

This patch casts the (struct timeval).tv_sec fields to the
expected format.

[1] git://git.musl-libc.org/musl



Signed-off-by: default avatarPierre Gondois <Pierre.Gondois@arm.com>
parent f40ddce8
Loading
Loading
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