Build fix (on 64 bit hosts).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35819 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4a27232637
commit
2d263cff46
@ -159,7 +159,7 @@ static int
|
|||||||
fuse_readlink(const char* path, char* buffer, size_t size)
|
fuse_readlink(const char* path, char* buffer, size_t size)
|
||||||
{
|
{
|
||||||
PRINTD("##readlink\n");
|
PRINTD("##readlink\n");
|
||||||
size_t n_size = size - 1;
|
fssh_size_t n_size = size - 1;
|
||||||
fssh_status_t st = _kern_read_link(-1, path, buffer, &n_size);
|
fssh_status_t st = _kern_read_link(-1, path, buffer, &n_size);
|
||||||
if (st >= FSSH_B_OK)
|
if (st >= FSSH_B_OK)
|
||||||
buffer[n_size] = '\0';
|
buffer[n_size] = '\0';
|
||||||
@ -423,7 +423,7 @@ fssh_fuse_session(const char* device, const char* mntPoint, const char* fsName)
|
|||||||
fssh_strerror(fsDev));
|
fssh_strerror(fsDev));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gIsDebug) {
|
if (!gIsDebug) {
|
||||||
bool isErr = false;
|
bool isErr = false;
|
||||||
fssh_dev_t volumeID = get_volume_id();
|
fssh_dev_t volumeID = get_volume_id();
|
||||||
@ -450,7 +450,7 @@ fssh_fuse_session(const char* device, const char* mntPoint, const char* fsName)
|
|||||||
argv[fuseArgCount++] = (const char*)"-s";
|
argv[fuseArgCount++] = (const char*)"-s";
|
||||||
if (gIsDebug)
|
if (gIsDebug)
|
||||||
argv[fuseArgCount++] = (const char*)"-d";
|
argv[fuseArgCount++] = (const char*)"-d";
|
||||||
|
|
||||||
initialiseFuseOps(&gFUSEOperations);
|
initialiseFuseOps(&gFUSEOperations);
|
||||||
|
|
||||||
int ret = fuse_main(fuseArgCount, (char**)argv, &gFUSEOperations, NULL);
|
int ret = fuse_main(fuseArgCount, (char**)argv, &gFUSEOperations, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user