projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
990d83a
)
Fix a little warning under gcc compiler
author
Marco Costalba
<mcostalba@gmail.com>
Wed, 30 Dec 2009 10:09:27 +0000 (11:09 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Wed, 30 Dec 2009 12:25:22 +0000 (13:25 +0100)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/bitboard.cpp
patch
|
blob
|
history
diff --git
a/src/bitboard.cpp
b/src/bitboard.cpp
index
380c598
..
dd8023e
100644
(file)
--- a/
src/bitboard.cpp
+++ b/
src/bitboard.cpp
@@
-297,8
+297,8
@@
void init_bitboards() {
#if defined(IS_64BIT) && !defined(USE_BSFQ)
-CACHE_LINE_ALIGNMENT
-static const int BitTable[64] = {
+static CACHE_LINE_ALIGNMENT
+const int BitTable[64] = {
0, 1, 2, 7, 3, 13, 8, 19, 4, 25, 14, 28, 9, 34, 20, 40, 5, 17, 26, 38, 15,
46, 29, 48, 10, 31, 35, 54, 21, 50, 41, 57, 63, 6, 12, 18, 24, 27, 33, 39,
16, 37, 45, 47, 30, 53, 49, 56, 62, 11, 23, 32, 36, 44, 52, 55, 61, 22, 43,