Wrong type in perf.c