Browse Source

ica correct applog typing

nfactor-troky
Kano 12 years ago
parent
commit
95fe655fd7
  1. 9
      driver-icarus.c

9
driver-icarus.c

@ -730,8 +730,8 @@ static int64_t icarus_scanhash(struct thr_info *thr, struct work *work,
estimate_hashes = 0xffffffff; estimate_hashes = 0xffffffff;
if (opt_debug) { if (opt_debug) {
applog(LOG_DEBUG, "Icarus %d no nonce = 0x%08llx hashes (%ld.%06lds)", applog(LOG_DEBUG, "Icarus %d no nonce = 0x%08lX hashes (%ld.%06lds)",
icarus->device_id, estimate_hashes, icarus->device_id, (long unsigned int)estimate_hashes,
elapsed.tv_sec, elapsed.tv_usec); elapsed.tv_sec, elapsed.tv_usec);
} }
@ -760,8 +760,9 @@ static int64_t icarus_scanhash(struct thr_info *thr, struct work *work,
timersub(&tv_finish, &tv_start, &elapsed); timersub(&tv_finish, &tv_start, &elapsed);
if (opt_debug) { if (opt_debug) {
applog(LOG_DEBUG, "Icarus %d nonce = 0x%08x = 0x%08llx hashes (%ld.%06lds)", applog(LOG_DEBUG, "Icarus %d nonce = 0x%08x = 0x%08lX hashes (%ld.%06lds)",
icarus->device_id, nonce, hash_count, elapsed.tv_sec, elapsed.tv_usec); icarus->device_id, nonce, (long unsigned int)hash_count,
elapsed.tv_sec, elapsed.tv_usec);
} }
// ignore possible end condition values ... and hw errors // ignore possible end condition values ... and hw errors

Loading…
Cancel
Save