From a2284aac8d96a0fa838094c38a44c0ba62d922d6 Mon Sep 17 00:00:00 2001 From: Marc Olzheim Date: Fri, 17 Dec 2004 15:44:57 +0000 Subject: [PATCH] "(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." --- include/misc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/misc.h b/include/misc.h index ff7d8d601..032047fc1 100644 --- a/include/misc.h +++ b/include/misc.h @@ -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 ) -- 2.43.0