bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/5] i386/i386/db_trace.c: make function void


From: Samuel Thibault
Subject: Re: [PATCH 5/5] i386/i386/db_trace.c: make function void
Date: Thu, 21 Nov 2013 18:58:28 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Marin Ramesa, le Thu 21 Nov 2013 18:56:09 +0100, a écrit :
> On 21.11.2013 18:50:20, Samuel Thibault wrote:
> > Marin Ramesa, le Thu 21 Nov 2013 18:48:40 +0100, a écrit :
> > > On 21.11.2013 18:19:52, Samuel Thibault wrote:
> > > > Marin Ramesa, le Thu 21 Nov 2013 13:11:08 +0100, a écrit :
> > > > > -     { "cs", (long *)&ddb_regs.cs,  db_i386_reg_value
> > },
> > > > > +     { "cs", (long *)&ddb_regs.cs,  (void
> > > *)db_i386_reg_value },
> > > > 
> > > > Mmm, you shouldn't need this cast.
> > > 
> > > GCC complains otherwise. I did not know what else to do.
> > 
> > Well, show us the complain :)
> 
> ../i386/i386/db_trace.c:60:2: warning: initialization from incompatible 
> pointer type 
> ../i386/i386/db_trace.c:60:2: warning: (near initialization for 
> „db_regs[0].fcn”) 

Mmm, you didn't modify the struct db_variable, so that's not surprising
:)

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]