]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs_catalog.c
xnu-1228.5.20.tar.gz
[apple/xnu.git] / bsd / hfs / hfs_catalog.c
index b52a0cd22f30dc3c74cfa9c21ad30b28fa23b541..59d20b4efe1e92ea40b23d352900c266ad489edd 100644 (file)
@@ -2627,7 +2627,7 @@ getdirentries_callback(const CatalogKey *ckp, const CatalogRecord *crp,
        u_int8_t type = DT_UNKNOWN;
        u_int8_t is_mangled = 0;
        u_int8_t *nameptr;
-       user_addr_t uiobase = (user_addr_t)NULL;
+       user_addr_t uiobase = USER_ADDR_NULL;
        size_t namelen = 0;
        size_t maxnamelen;
        size_t uiosize = 0;