--- libaitsync/src/dir.c 2011/04/28 07:16:05 1.1.2.4 +++ libaitsync/src/dir.c 2011/05/08 00:49:45 1.1.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: dir.c,v 1.1.2.4 2011/04/28 07:16:05 misho Exp $ +* $Id: dir.c,v 1.1.2.5 2011/05/08 00:49:45 misho Exp $ * *************************************************************************/ #include "global.h" @@ -149,7 +149,7 @@ create_diridx(const char *csDir, int lm, int *tags, st strlcpy(szType, "unknown", STRSIZ); break; } - snprintf(l[n].extra, STRSIZ, "%s links=%d inode=%u %d:%d perm=0%o size=%llu %s", + snprintf(l[n].extra, STRSIZ, "%s links=%d inode=%lu %d:%d perm=0%o size=%ld %s", szType, sb.st_nlink, sb.st_ino, sb.st_uid, sb.st_gid, sb.st_mode & 0x1fff, sb.st_size, szStr); } @@ -368,7 +368,7 @@ sync_dircmpList(const char *csDir1, const char *csDir2 break; } snprintf(l[n].extra, STRSIZ, - "%s links=%d inode=%u %d:%d perm=0%o size=%llu %s", + "%s links=%d inode=%lu %d:%d perm=0%o size=%ld %s", szType, sb.st_nlink, sb.st_ino, sb.st_uid, sb.st_gid, sb.st_mode & 0x1fff, sb.st_size, szStr); }