]> mj.ucw.cz Git - libucw.git/commitdiff
fixed some compilation warnings
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Wed, 26 Jul 2006 09:43:40 +0000 (11:43 +0200)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Wed, 26 Jul 2006 09:43:40 +0000 (11:43 +0200)
lib/shell/config.c

index a4ac005a40300cbe54a627eb5da1ae808ee41590..df53a4084610c33a77dee931ef8780b425de1407 100644 (file)
@@ -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