[Ocfs2-devel] [PATCH] ocfs2/cluster/netdebug.c: fix warning
Joel Becker
Joel.Becker at oracle.com
Tue Aug 5 16:22:55 PDT 2008
On Wed, Aug 06, 2008 at 12:50:41AM +0400, Alexander Beregalov wrote:
> On Tue, Aug 05, 2008 at 01:29:48PM -0700, Joel Becker wrote:
> > suseconds_t is a signed long. Can you change the format to %ld
> > and cast to long? Unfortunately, we need the cast, as sparc64 and
> > parisc treat it as int.
>
> Then we should change cast from unsigned long to long for every tv_usec, right?
Yup.
Joel
--
"You can get more with a kind word and a gun than you can with
a kind word alone."
- Al Capone
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list