From e65df9932b25a3a4ace2142948a0b3e4dcacb5a8 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 8 Sep 2013 10:14:19 +1000 Subject: [PATCH] Fix warning on mingw build. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 550f4ed8..52ab46b2 100644 --- a/util.c +++ b/util.c @@ -1726,7 +1726,7 @@ bool auth_stratum(struct pool *pool) static int recv_byte(int sockd) { - unsigned char c; + char c; if (recv(sockd, &c, 1, 0) != -1) return c;