From 368cbd78587922ec3620b72bdb1c9f8cdf9297d1 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 6 Jun 2008 18:13:38 +0200 Subject: [PATCH] Change type of struct osl_column_description->storage_{type,flags}. These values get stored in the table index header as 16 bit quantities, so it does not make sense to use a different size for the structure. --- osl.h.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osl.h.in b/osl.h.in index e462479..67d705a 100644 --- a/osl.h.in +++ b/osl.h.in @@ -94,10 +94,10 @@ typedef int osl_rbtree_loop_func(struct osl_row *row, void *data); * Describes one column of a osl table. */ struct osl_column_description { - /** One of the tree possible types of storage */ - enum osl_storage_type storage_type; - /** Specifies further properties of the column */ - enum osl_storage_flags storage_flags; + /** One of the tree possible types of storage, \sa osl_storage_type. */ + uint16_t storage_type; + /** Specifies further properties of the column, \sa osl_storage_flags. */ + uint16_t storage_flags; /** * The column name determines the name of the directory where all data * for this column will be stored. Its hash is stored in the table -- 2.39.2