]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf-dump.c
Implemented SORT_UNIFY, SORT_UNIQUE and debugged SORT_VAR_DATA.
[libucw.git] / lib / conf-dump.c
index 073bf129e4cd5096a2a11ca6c1a3dc609a993015..c4ac16bb076f847ff1a83c282429871057694894 100644 (file)
@@ -53,7 +53,7 @@ static byte *class_names[] = { "end", "static", "dynamic", "parser", "section",
 static void
 dump_item(struct fastbuf *fb, struct cf_item *item, int level, void *ptr)
 {
-  ptr += (addr_int_t) item->ptr;
+  ptr += (uintptr_t) item->ptr;
   enum cf_type type = item->type;
   uns size = cf_type_size(item->type, item->u.utype);
   int i;