summaryrefslogtreecommitdiff
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2004-07-20 08:45:30 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2004-07-20 08:45:30 +0000
commit56bc93eecd71c5407efe6f1f58cfab5db54b04df (patch)
tree069744697d8b0d8245cf7235416844ee08a18ca2 /usr.bin/gprof
parentd24660cd72df6af80555e6df58b873f0e70928ca (diff)
make lowpc and highpc into long, fixing gprof on 64-bit archs with text
above 4GB. miod@ ok
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r--usr.bin/gprof/gprof.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/gprof/gprof.h b/usr.bin/gprof/gprof.h
index 65c97cf8085..4b63823f9fc 100644
--- a/usr.bin/gprof/gprof.h
+++ b/usr.bin/gprof/gprof.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gprof.h,v 1.9 2003/06/03 02:56:08 millert Exp $ */
+/* $OpenBSD: gprof.h,v 1.10 2004/07/20 08:45:29 art Exp $ */
/* $NetBSD: gprof.h,v 1.13 1996/04/01 21:54:06 mark Exp $ */
/*
@@ -184,7 +184,7 @@ UNIT *samples;
unsigned long s_lowpc; /* lowpc from the profile file */
unsigned long s_highpc; /* highpc from the profile file */
-unsigned lowpc, highpc; /* range profiled, in UNIT's */
+unsigned long lowpc, highpc; /* range profiled, in UNIT's */
unsigned sampbytes; /* number of bytes of samples */
int nsamples; /* number of samples */
double actime; /* accumulated time thus far for putprofline */