19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: gmc.c,v 1.9 2008-11-27 16:31:48 Isibaar Exp $ |
* $Id: gmc.c,v 1.10 2008-11-30 16:36:44 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
48 |
log2bin(uint32_t value) |
log2bin(uint32_t value) |
49 |
{ |
{ |
50 |
/* Changed by Chenm001 */ |
/* Changed by Chenm001 */ |
51 |
#if !defined(_MSC_VER) |
#if !defined(_MSC_VER) || defined(ARCH_IS_X86_64) |
52 |
int n = 0; |
int n = 0; |
53 |
|
|
54 |
while (value) { |
while (value) { |