Skip to content

Commit

Permalink
bitmain: Use more portable PRIu64 rather than %llu (which fails on Wi…
Browse files Browse the repository at this point in the history
…ndows)
  • Loading branch information
luke-jr committed Nov 21, 2015
1 parent 588f2ac commit eb19862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver-bitmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ static int bitmain_read(struct cgpu_info *bitmain, unsigned char *buf,
size_t total = 0;

if(bitmain == NULL || buf == NULL || bufsize <= 0) {
applog(LOG_WARNING, "bitmain_read parameter error bufsize(%llu)", (unsigned long long)bufsize);
applog(LOG_WARNING, "bitmain_read parameter error bufsize(%"PRIu64")", (uint64_t)bufsize);
return -1;
}
{
Expand Down

0 comments on commit eb19862

Please sign in to comment.