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: Marin Ramesa
Subject: Re: [PATCH 5/5] i386/i386/db_trace.c: make function void
Date: Thu, 21 Nov 2013 18:56:09 +0100

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”) 





reply via email to

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