Commit e65df9932b25a3a4ace2142948a0b3e4dcacb5a8

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;