Change uint_t to unsigned int in source4
[ira/wip.git] / source4 / ntvfs / posix / pvfs_fsinfo.c
index 9a836fac323e31edb1be5d994ee35cd015925b6d..210433baef526642e1c94841c07cf7f1f60bc7b3 100644 (file)
@@ -85,9 +85,10 @@ NTSTATUS pvfs_fsinfo(struct ntvfs_module_context *ntvfs,
                     struct ntvfs_request *req, union smb_fsinfo *fs)
 {
        NTSTATUS status;
-       struct pvfs_state *pvfs = ntvfs->private_data;
+       struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data,
+                                 struct pvfs_state);
        uint64_t blocks_free, blocks_total;
-       uint_t bpunit;
+       unsigned int bpunit;
        struct stat st;
        const uint16_t block_size = 512;