"(turn): Fix comparing the output of write() to an unsigned sizeof by
casting the sizeof to write's most used return-type (ssize_t). Introduce a typedef for ssize_t for _WIN32 in include/misc.h."
This commit is contained in:
parent
09b73000c2
commit
a2284aac8d
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
|||
typedef unsigned char u_char;
|
||||
typedef unsigned short u_short;
|
||||
typedef unsigned int u_int;
|
||||
typedef long ssize_t;
|
||||
|
||||
/* integral mismatch, due to misuse of sector short */
|
||||
#pragma warning (disable : 4761 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue