[haiku-commits] r35819 - haiku/trunk/src/tools/fs_shell

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 12 Mar 2010 00:23:37 +0100 (CET)

Author: bonefish
Date: 2010-03-12 00:23:37 +0100 (Fri, 12 Mar 2010)
New Revision: 35819
Changeset: http://dev.haiku-os.org/changeset/35819/haiku

Modified:
   haiku/trunk/src/tools/fs_shell/fuse.cpp
Log:
Build fix (on 64 bit hosts).


Modified: haiku/trunk/src/tools/fs_shell/fuse.cpp
===================================================================
--- haiku/trunk/src/tools/fs_shell/fuse.cpp     2010-03-11 20:15:39 UTC (rev 
35818)
+++ haiku/trunk/src/tools/fs_shell/fuse.cpp     2010-03-11 23:23:37 UTC (rev 
35819)
@@ -159,7 +159,7 @@
 fuse_readlink(const char* path, char* buffer, size_t size)
 {
        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);
        if (st >= FSSH_B_OK)
                buffer[n_size] = '\0';
@@ -423,7 +423,7 @@
                        fssh_strerror(fsDev));
                return 1;
        }
-       
+
        if (!gIsDebug) {
                bool isErr = false;
                fssh_dev_t volumeID = get_volume_id();
@@ -450,7 +450,7 @@
        argv[fuseArgCount++] = (const char*)"-s";
        if (gIsDebug)
                argv[fuseArgCount++] = (const char*)"-d";
-       
+
        initialiseFuseOps(&gFUSEOperations);
 
        int ret = fuse_main(fuseArgCount, (char**)argv, &gFUSEOperations, NULL);


Other related posts:

  • » [haiku-commits] r35819 - haiku/trunk/src/tools/fs_shell - ingo_weinhold