From 6448f735d5663c7c58aa269d8f53f06c4640ef5a Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Sun, 7 Jun 2020 14:38:16 -0700 Subject: sdsrange overflow fix (#830) Fix overflow bug in `sdsrange` --- sockcompat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sockcompat.h') diff --git a/sockcompat.h b/sockcompat.h index 56006c1..9249d5e 100644 --- a/sockcompat.h +++ b/sockcompat.h @@ -51,7 +51,7 @@ #include #ifdef _MSC_VER -typedef signed long ssize_t; +typedef long long ssize_t; #endif /* Emulate the parts of the BSD socket API that we need (override the winsock signatures). */ -- cgit v1.2.3