Corrected data type mismatch

David Laight David.Laight at ACULAB.COM
Wed Nov 17 02:35:13 EST 2010


 
> > OOPS! It is wrong here, The right one should be as following:
> > 
> > -   memcpy(mem, current->thread.evr[regno-32],
> > +   memcpy(mem, (void*)&current->thread.evr[regno-32],
dbg_reg_def[regno].size);

The (void *) cast should be unnecessary ....

	David




More information about the Linuxppc-dev mailing list