Commit 040284c67a72230f17dad430b5ada74bbcb38f76

Kano 2014-02-19T16:53:27

klondike ensure stats type matches

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-klondike.c b/driver-klondike.c
index a619309..1429041 100644
--- a/driver-klondike.c
+++ b/driver-klondike.c
@@ -1441,7 +1441,7 @@ static void get_klondike_statline_before(char *buf, size_t siz, struct cgpu_info
 	if (clock > 999) // error - so truncate it
 		clock = 999;
 
-	tailsprintf(buf, siz, "%3dMHz %3d%% %.1fC", (int)clock, fan, cvtKlnToC(temp));
+	tailsprintf(buf, siz, "%3dMHz %3d%% %.1fC", (int)clock, (int)fan, cvtKlnToC(temp));
 }
 
 static struct api_data *klondike_api_stats(struct cgpu_info *klncgpu)