From 214243909ca260ed7609e535311c515513ac7689 Mon Sep 17 00:00:00 2001 From: Kevin Chase Date: Sun, 28 Dec 2003 07:48:56 -0800 Subject: [PATCH] win32_chsize buglet From: "Kevin Chase" Message-ID: p4raw-id: //depot/perl@21992 --- win32/win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/win32.c b/win32/win32.c index 3883757..f4c43fc 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -3154,7 +3154,7 @@ win32_chsize(int fd, Off_t size) do { count = extend >= sizeof(b) ? sizeof(b) : (size_t)extend; count = win32_write(fd, b, count); - if (count < 0) { + if ((int)count < 0) { retval = -1; break; } -- 2.7.4