From: <ta...@us...> - 2007-11-21 06:02:36
|
Revision: 3868 http://gfarm.svn.sourceforge.net/gfarm/?rev=3868&view=rev Author: tatebe Date: 2007-11-20 22:02:40 -0800 (Tue, 20 Nov 2007) Log Message: ----------- warning elimination on x86_64 RHEL4 Modified Paths: -------------- gfarm/branches/gfarm_v2/gftool/gfreg/gfreg_simple.c gfarm/branches/gfarm_v2/gftool/gfstat/gfstat.c gfarm/branches/gfarm_v2/lib/libgfarm/gfarm/gfs_stat.c Modified: gfarm/branches/gfarm_v2/gftool/gfreg/gfreg_simple.c =================================================================== --- gfarm/branches/gfarm_v2/gftool/gfreg/gfreg_simple.c 2007-11-21 04:03:18 UTC (rev 3867) +++ gfarm/branches/gfarm_v2/gftool/gfreg/gfreg_simple.c 2007-11-21 06:02:40 UTC (rev 3868) @@ -8,6 +8,7 @@ #include <unistd.h> #include <errno.h> #include <sys/stat.h> +#include <sys/time.h> #include <gfarm/gfarm.h> Modified: gfarm/branches/gfarm_v2/gftool/gfstat/gfstat.c =================================================================== --- gfarm/branches/gfarm_v2/gftool/gfstat/gfstat.c 2007-11-21 04:03:18 UTC (rev 3867) +++ gfarm/branches/gfarm_v2/gftool/gfstat/gfstat.c 2007-11-21 06:02:40 UTC (rev 3868) @@ -34,9 +34,10 @@ printf(" Mode: (%04o) Uid: (%8s) Gid: (%8s)\n", st->st_mode & GFARM_S_ALLPERM, st->st_user, st->st_group); - printf(" Inode: %-12lld Gen: %-12lld Links: %-12lld\n", + printf(" Inode: %-12" GFARM_PRId64 " Gen: %-12" GFARM_PRId64 + " Links: %-12" GFARM_PRId64 "\n", st->st_ino, st->st_gen, st->st_nlink); - printf(" Ncopy: %-12lld\n", st->st_ncopy); + printf(" Ncopy: %-12" GFARM_PRId64 "\n", st->st_ncopy); clock = st->st_atimespec.tv_sec; printf("Access: %s", ctime(&clock)); clock = st->st_mtimespec.tv_sec; printf("Modify: %s", ctime(&clock)); Modified: gfarm/branches/gfarm_v2/lib/libgfarm/gfarm/gfs_stat.c =================================================================== --- gfarm/branches/gfarm_v2/lib/libgfarm/gfarm/gfs_stat.c 2007-11-21 04:03:18 UTC (rev 3867) +++ gfarm/branches/gfarm_v2/lib/libgfarm/gfarm/gfs_stat.c 2007-11-21 06:02:40 UTC (rev 3868) @@ -1,5 +1,6 @@ #include <stdio.h> /* config.h needs FILE */ #include <stdlib.h> +#include <sys/time.h> #define GFARM_INTERNAL_USE #include <gfarm/gfarm.h> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |