From: Leandro Lucarella Date: Tue, 4 Oct 2005 02:12:36 +0000 (+0000) Subject: Bugfix de cast a la C++. X-Git-Tag: Entrega_1~46 X-Git-Url: https://git.llucax.com/z.facultad/75.29/dale.git/commitdiff_plain/71d12266635fa7e878d0282dcb27daec542228bd?ds=sidebyside Bugfix de cast a la C++. --- diff --git a/src/number.h b/src/number.h index 57fb1b8..99eec8c 100644 --- a/src/number.h +++ b/src/number.h @@ -356,7 +356,7 @@ number < N, E > naif(const number< N, E > &u, const number< N, E > &v) */ E tmp; tmp = static_cast< E >(u.chunk[0]) * static_cast< E >(v.chunk[0]); - num_type tnum = num_type(static_cast< N* >(&tmp), 2, sign); + num_type tnum = num_type(reinterpret_cast< N* >(&tmp), 2, sign); //std::cout << "T:" << tnum << " " << tmp << "\n"; //printf("1: %lu %lu %llu\n", u.chunk[0], v.chunk[0], tmp); return tnum;