Commit f652b1e29135c496b3338e113e66b00e24198310

Con Kolivas 2013-09-08T10:14:19

Fix warning on mingw build.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util.c b/util.c
index 550f4ed..52ab46b 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;