From e68457fcd4b206631ff1acf7a8e48b40022bd8ef Mon Sep 17 00:00:00 2001 From: Kano Date: Sat, 2 Jun 2012 17:19:19 +1000 Subject: [PATCH] Icarus - fix unit64_t printf warnings --- driver-icarus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver-icarus.c b/driver-icarus.c index eb4d03a0..75ab5e3f 100644 --- a/driver-icarus.c +++ b/driver-icarus.c @@ -752,8 +752,8 @@ static void icarus_api_stats(char *buf, struct cgpu_info *cgpu, bool isjson) // care since hashing performance is way more important than // locking access to displaying API debug 'stats' sprintf(buf, isjson - ? "\"read_count\":%d,\"fullnonce\":%f,\"count\":%d,\"Hs\":%.15f,\"W\":%f,\"total_values\":%u,\"range\":%ld,\"history_count\":%lu,\"history_time\":%f,\"min_data_count\":%u,\"timing_values\":%u" - : "read_count=%d,fullnonce=%f,count=%d,Hs=%.15f,W=%f,total_values=%u,range=%ld,history_count=%lu,history_time=%f,min_data_count=%u,timing_values=%u", + ? "\"read_count\":%d,\"fullnonce\":%f,\"count\":%d,\"Hs\":%.15f,\"W\":%f,\"total_values\":%u,\"range\":%"PRIu64",\"history_count\":%"PRIu64",\"history_time\":%f,\"min_data_count\":%u,\"timing_values\":%u" + : "read_count=%d,fullnonce=%f,count=%d,Hs=%.15f,W=%f,total_values=%u,range=%"PRIu64",history_count=%"PRIu64",history_time=%f,min_data_count=%u,timing_values=%u", info->read_count, info->fullnonce, info->count, info->Hs, info->W, info->values, info->hash_count_range,