← Back to team overview

maria-developers team mailing list archive

Re: MariaDB made be compiled by gcc 4.8.1

 

Hi, Oleksandr!

On Oct 24, Oleksandr Byelkin wrote:
> >
> > Or, I suppose, you can try to drop the cast completely:
> >
> >           memcpy(&pos, pos + blob_size_length, sizeof(pos));
> 
> Hehe, it was my first fix (remove casting). but then I thought that the 
> casting was done for something and decided do not touch it. If you think 
> that this way is better I'll do it.

Yes, please do. And not only in this place, but in all similar cases
too.

Thanks!

Regards,
Sergei


References