From 7d6715c52cccbd4219f1b0f8e71160fe8d903ad0 Mon Sep 17 00:00:00 2001 From: Greg Lehey Date: Fri, 2 Jul 1999 07:56:47 +0000 Subject: [PATCH] Change the type of the freelist sectors variable to u_int64_t in order to ensure that initializers will be of correct type. --- sys/dev/vinum/vinumvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h index 594a08794b29..d914dd88ca9b 100644 --- a/sys/dev/vinum/vinumvar.h +++ b/sys/dev/vinum/vinumvar.h @@ -378,8 +378,8 @@ struct drive { int freelist_size; /* number of entries alloced in free list */ int freelist_entries; /* number of entries used in free list */ struct drive_freelist { /* sorted list of free space on drive */ - u_int64_t offset; - long sectors; + u_int64_t offset; /* offset of entry */ + u_int64_t sectors; /* and length in sectors */ } *freelist; #ifdef VINUMDEBUG char lockfilename[16]; /* name of file from which we were locked */