Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Commit

Permalink
prepare release 1.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Aug 22, 2015
1 parent 01f3183 commit 64e997e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ccminer.cpp
Expand Up @@ -1067,7 +1067,7 @@ static bool get_mininginfo(CURL *curl, struct work *work)
}
key = json_object_get(res, "netmhashps");
if (key && json_is_real(key)) {
net_hashrate = (json_real_value(key) * 1e6);
net_hashrate = (uint64_t)(json_real_value(key) * 1e6);
}
key = json_object_get(res, "blocks");
if (key && json_is_integer(key)) {
Expand Down
6 changes: 3 additions & 3 deletions cpuminer-config.h
Expand Up @@ -162,7 +162,7 @@
#define PACKAGE_NAME "ccminer"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "ccminer 1.6.5-C11"
#define PACKAGE_STRING "ccminer 1.6.6"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ccminer"
Expand All @@ -171,7 +171,7 @@
#define PACKAGE_URL "http://github.com/tpruvot/ccminer"

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.6.5-C11"
#define PACKAGE_VERSION "1.6.6"

/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
Expand All @@ -185,7 +185,7 @@
#define STDC_HEADERS 1

/* Version number of package */
#define VERSION "1.6.5-C11"
#define VERSION "1.6.6"

/* Define curl_free() as free() if our version of curl lacks curl_free. */
/* #undef curl_free */
Expand Down
2 changes: 1 addition & 1 deletion nvml.cpp
Expand Up @@ -338,7 +338,7 @@ int nvml_set_clocks(nvml_handle *nvmlh, int dev_id)
nclocks = min(nclocks, 127);
if (nclocks)
nvmlh->nvmlDeviceGetSupportedMemoryClocks(nvmlh->devs[n], &nclocks, clocks);
for (int8_t u=0; u < nclocks; u++) {
for (uint8_t u=0; u < nclocks; u++) {
// ordered by pstate (so highest is first memory clock - P0)
if (clocks[u] <= mem_clk) {
mem_clk = clocks[u];
Expand Down

0 comments on commit 64e997e

Please sign in to comment.