X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=attribute.c;h=801d907ab714b254dae7415d21ccc6c675484835;hb=0fa4e460a878fe80f937df5e1da31a33221e0ee0;hp=798a6cc4889fe02c7789fe10b282891fa76bee1f;hpb=0496a19e8ac1afecde726c2292720d415bdb7500;p=paraslash.git diff --git a/attribute.c b/attribute.c index 798a6cc4..801d907a 100644 --- a/attribute.c +++ b/attribute.c @@ -10,7 +10,7 @@ #include "string.h" #include "net.h" -static void *attribute_table; +static struct osl_table *attribute_table; static int greatest_att_bitnum; /** The columns of the attribute table. */ @@ -466,7 +466,7 @@ int attribute_init(struct table_info *ti, const char *db) attribute_table_desc.dir = db; ti->desc = &attribute_table_desc; - ret = osl_open_table(ti->desc, attribute_table); + ret = osl_open_table(ti->desc, &attribute_table); greatest_att_bitnum = -1; /* no atts available */ if (ret >= 0) { find_greatest_att_bitnum();