diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2020-06-07 14:38:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-07 14:38:16 -0700 |
commit | 6448f735d5663c7c58aa269d8f53f06c4640ef5a (patch) | |
tree | a7d050ffe5f41cda3b51864a4c612abcd989850c /sockcompat.h | |
parent | c7267235455f48e7ce4aa5cb1d0bc0cfe2b7ba09 (diff) |
sdsrange overflow fix (#830)
Fix overflow bug in `sdsrange`
Diffstat (limited to 'sockcompat.h')
-rw-r--r-- | sockcompat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sockcompat.h b/sockcompat.h index 56006c1..9249d5e 100644 --- a/sockcompat.h +++ b/sockcompat.h @@ -51,7 +51,7 @@ #include <stddef.h> #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). */ |