[Pkg-owncloud-commits] [ocsync] 02/29: Rather use unit64_t than ino_t which causes trouble on win32.

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Dec 13 14:26:33 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository ocsync.

commit 8fd921f7960fd1cd369cee5288a1d04a83a9b1b7
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Thu Dec 5 12:49:01 2013 +0100

    Rather use unit64_t than ino_t which causes trouble on win32.
    
    This fixes https://github.com/owncloud/mirall/issues/1239
---
 src/csync_statedb.c | 2 +-
 src/csync_statedb.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/csync_statedb.c b/src/csync_statedb.c
index 0f1e2d5..63fe615 100644
--- a/src/csync_statedb.c
+++ b/src/csync_statedb.c
@@ -476,7 +476,7 @@ csync_file_stat_t *csync_statedb_get_stat_by_file_id( sqlite3 *db,
 
 /* caller must free the memory */
 csync_file_stat_t *csync_statedb_get_stat_by_inode(sqlite3 *db,
-                                                   ino_t inode) {
+                                                   uint64_t inode) {
   csync_file_stat_t *st = NULL;
   c_strlist_t *result = NULL;
   char *stmt = NULL;
diff --git a/src/csync_statedb.h b/src/csync_statedb.h
index 974fe12..1d31c68 100644
--- a/src/csync_statedb.h
+++ b/src/csync_statedb.h
@@ -58,7 +58,7 @@ int csync_statedb_close(const char *statedb, sqlite3 *db, int jwritten);
 
 csync_file_stat_t *csync_statedb_get_stat_by_hash(sqlite3 *db, uint64_t phash);
 
-csync_file_stat_t *csync_statedb_get_stat_by_inode(sqlite3 *db, ino_t inode);
+csync_file_stat_t *csync_statedb_get_stat_by_inode(sqlite3 *db, uint64_t inode);
 
 csync_file_stat_t *csync_statedb_get_stat_by_file_id( sqlite3 *db,
                                                      const char *file_id );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/ocsync.git



More information about the Pkg-owncloud-commits mailing list