Re: [PATCH 1/4] perf bench: Add mem-memcpy.c:memcpy() benchmark

Hitoshi Mitake
2009-11-17T14:36:36Z

From: Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH 1/4] perf bench: Add mem-memcpy.c:memcpy() benchmark
Date: Tue, 17 Nov 2009 13:53:15 +0100

>
> FYI, it fails to build on 32-bit systems, with:
>
> bench/mem-memcpy.c: In function 'bench_mem_memcpy':
> bench/mem-memcpy.c:118: error: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'

Sorry, I'll fix it.
# This length as argument for fprintf() makes no sense.
# I wonder why I added this...