From 56e83e0fe5478c3048f306ba1d09937effecaa2f Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Wed, 26 Jul 2006 11:43:40 +0200 Subject: [PATCH] fixed some compilation warnings --- lib/shell/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2