diff options
author | Kevin Chase <kevincha99@hotmail.com> | 2003-12-28 07:48:56 -0800 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-12-29 10:31:07 +0000 |
commit | 214243909ca260ed7609e535311c515513ac7689 (patch) | |
tree | 3d15ae9536039a6c09bb9a0c4ea0061dfe25584a /win32 | |
parent | c2cbba7db7fc4081c5d985a6a15c29dded8e6709 (diff) | |
download | perl-214243909ca260ed7609e535311c515513ac7689.tar.gz |
win32_chsize buglet
From: "Kevin Chase" <kevincha99@hotmail.com>
Message-ID: <BAY2-F90usv0ccZRh8Z0005683d@hotmail.com>
p4raw-id: //depot/perl@21992
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 3883757e1a..f4c43fc6de 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; } |