diff --git a/test/compare_file.c b/test/compare_file.c index 366f8609..47be2f41 100644 --- a/test/compare_file.c +++ b/test/compare_file.c @@ -126,13 +126,13 @@ int Compare_2_files(char *adr1, char *adr2, char *adrc, int flag) differs= 1; } if(s1.st_uid != s2.st_uid) { - printf("%s : st_uid : %d <> %d\n", - a, (int) s1.st_uid, (int) s2.st_uid); + printf("%s : st_uid : %lu <> %lu\n", + a, (unsigned long) s1.st_uid, (unsigned long) s2.st_uid); differs= 1; } if(s1.st_gid != s2.st_gid) { - printf("%s : st_gid : %d <> %d\n", - a, (int) s1.st_gid, (int) s2.st_gid); + printf("%s : st_gid : %lu <> %lu\n", + a, (unsigned long) s1.st_gid, (unsigned long) s2.st_gid); differs= 1; } if((S_ISCHR(s1.st_mode) && S_ISCHR(s2.st_mode)) || diff --git a/xorriso/xorriso.c b/xorriso/xorriso.c index 9ff53012..c32ecfaa 100644 --- a/xorriso/xorriso.c +++ b/xorriso/xorriso.c @@ -8093,15 +8093,15 @@ int Xorriso_compare_2_files(struct XorrisO *xorriso, char *disk_adr, } if(s1.st_uid != s2.st_uid) { - sprintf(respt, "%s st_uid : %d <> %d\n", a, - (int) s1.st_uid, (int) s2.st_uid); + sprintf(respt, "%s st_uid : %lu <> %lu\n", a, + (unsigned long) s1.st_uid, (unsigned long) s2.st_uid); if(!(flag&(1<<31))) Xorriso_result(xorriso,0); (*result)|= 16; } if(s1.st_gid != s2.st_gid) { - sprintf(respt, "%s st_gid : %d <> %d\n", a, - (int) s1.st_gid, (int) s2.st_gid); + sprintf(respt, "%s st_gid : %lu <> %lu\n", a, + (unsigned long) s1.st_gid, (unsigned long) s2.st_gid); if(!(flag&(1<<31))) Xorriso_result(xorriso,0); (*result)|= 32; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index ba3d4a5d..186f1768 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2010.04.11.122253" +#define Xorriso_timestamP "2010.04.12.111137"