Browse Source

Merge commit 'f8935fc' into bfgminer-3.10.x

Luke Dashjr 12 years ago
parent
commit
99c3a95943
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-hashfast.c

+ 1 - 1
driver-hashfast.c

@@ -94,7 +94,7 @@ ssize_t hashfast_write(const int fd, void * const buf, size_t bufsz)
 		else
 		if (rv < bufsz)
 			applog(LOG_DEBUG, "%s fd=%d: SEND %.*s(%s)",
-			       "hashfast", fd, rv * 2, hex, &hex[rv * 2]);
+			       "hashfast", fd, (int)(rv * 2), hex, &hex[rv * 2]);
 		else
 		if (rv > bufsz)
 			applog(LOG_DEBUG, "%s fd=%d: SEND %s => +%d",