Commit 7231f7f92d8543c3205572d85601e96a03c58796

ckolivas 2013-04-10T10:59:38

Fix warning on 32bit.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index b5f47dd..7816af3 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -238,7 +238,7 @@ static char datestamp[40];
 static char blocktime[32];
 struct timeval block_timeval;
 static char best_share[8] = "0";
-double current_diff = 0xFFFFFFFFFFFFFFFF;
+double current_diff = 0xFFFFFFFFFFFFFFFFULL;
 static char block_diff[8];
 uint64_t best_diff = 0;