]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf-dump.c
few "byte *" -> "char *" conversions
[libucw.git] / lib / conf-dump.c
index 940c7ca7242c0e94a86515297f400c31a7eb1eed..0d4092400f52b0da6632885594de3a38b47afcd3 100644 (file)
@@ -31,8 +31,8 @@ dump_basic(struct fastbuf *fb, void *ptr, enum cf_type type, union cf_union *u)
     case CT_DOUBLE:    bprintf(fb, "%lg ", *(double*)ptr); break;
     case CT_IP:                bprintf(fb, "%08x ", *(uns*)ptr); break;
     case CT_STRING:
-      if (*(byte**)ptr)
-       bprintf(fb, "'%s' ", *(byte**)ptr);
+      if (*(char**)ptr)
+       bprintf(fb, "'%s' ", *(char**)ptr);
       else
        bprintf(fb, "NULL ");
       break;