From: Pavel Charvat Date: Wed, 26 Jul 2006 09:43:40 +0000 (+0200) Subject: fixed some compilation warnings X-Git-Tag: holmes-import~629^2~1 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=56e83e0fe5478c3048f306ba1d09937effecaa2f;p=libucw.git fixed some compilation warnings --- diff --git a/lib/shell/config.c b/lib/shell/config.c index a4ac005a..df53a408 100644 --- a/lib/shell/config.c +++ b/lib/shell/config.c @@ -274,7 +274,7 @@ parse_section(struct section *section) } if (section->item.cf.cls == CC_LIST) { - item->cf.ptr = (void *)section->size; + item->cf.ptr = (void *)(addr_int_t)section->size; section->size += sizeof(union value); } else