summaryrefslogtreecommitdiff
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-07-11 17:37:33 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-07-11 17:37:33 +0000
commit70c3c978b93f1018edbaf258b218df1df631ee42 (patch)
tree370a3aabdff7adb2f11d2c2251bbc167b7ce6d53 /usr.bin/gprof
parent2e96a4c68b23aa12bd3bc8f8bd964de92fe971db (diff)
downloadsrc-test-70c3c978b93f1018edbaf258b218df1df631ee42.tar.gz
src-test-70c3c978b93f1018edbaf258b218df1df631ee42.zip
Fix a few cases that relied on 'implicit int' (constraint violation in C99).
Notes
Notes: svn path=/head/; revision=131990
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r--usr.bin/gprof/gprof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c
index 1ddc4f1e7af4f..cfb9fab2cc9bd 100644
--- a/usr.bin/gprof/gprof.c
+++ b/usr.bin/gprof/gprof.c
@@ -417,7 +417,7 @@ void
readsamples(pfile)
FILE *pfile;
{
- register i;
+ int i;
intmax_t sample;
if (samples == 0) {