Commit a1917795d0ddc7b35a07421c7b9d430b86ffead3

ckolivas 2014-02-25T15:03:04

Fix harmless warning.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 6525c89..4e694a9 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -351,7 +351,7 @@ static void hfa_choose_opname(struct cgpu_info *hashfast, struct hashfast_info *
 
 		cgtime(&tv_now);
 		usecs = (uint64_t)(tv_now.tv_sec) * (uint64_t)1000000 + (uint64_t)tv_now.tv_usec;
-		sprintf(info->op_name, "%lx", usecs);
+		sprintf(info->op_name, "%lx", (long unsigned int)usecs);
 	}
 	hfa_write_opname(hashfast, info);
 }