int r = cfuse->client->ll_opendir(in, fi->flags, (dir_result_t **)&dirp,
ctx->uid, ctx->gid);
if (r >= 0) {
- fi->fh = (long)dirp;
+ fi->fh = (uint64_t)dirp;
fuse_reply_open(req, fi);
} else {
fuse_reply_err(req, -r);
int r = cfuse->client->ll_open(in, fi->flags, &fh, ctx->uid, ctx->gid);
if (r == 0) {
- fi->fh = (long)fh;
+ fi->fh = (uint64_t)fh;
#if FUSE_VERSION >= FUSE_MAKE_VERSION(2, 8)
if (cfuse->client->cct->_conf->fuse_use_invalidate_cb)
fi->keep_cache = 1;
int r = cfuse->client->ll_create(i1, name, mode, fi->flags, &fe.attr, &i2,
&fh, ctx->uid, ctx->gid);
if (r == 0) {
- fi->fh = (long)fh;
+ fi->fh = (uint64_t)fh;
fe.ino = cfuse->make_fake_ino(fe.attr.st_ino, fe.attr.st_dev);
fuse_reply_create(req, &fe, fi);
} else