lkml.org 
[lkml]   [2008]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ocfs2/cluster/netdebug.c: fix warning
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@oracle.com
Phone: (650) 506-8127


\
 
 \ /
  Last update: 2008-08-06 01:31    [W:0.586 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site