Project

General

Profile

Actions

Bug #1319

closed

Fix compiler warnings in file.c

Added by cfis (Charlie Savage) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2009-03-28) [i386-mswin32_90]
Backport:
[ruby-core:23038]

Description

=begin
Recently the BUFCHECK macro caused a bunch of compiler warnings got introduced into file.c (compiling with -W3 with vc2008):

./../file.c(2684) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2684) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2700) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2700) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2760) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2760) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2766) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2766) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2770) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2770) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2833) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2833) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2863) : warning C4018: '>=' : signed/unsigned mismatch
./../file.c(2863) : warning C4018: '>=' : signed/unsigned mismatch

Patch is attached.
=end


Files

file.patch (348 Bytes) file.patch cfis (Charlie Savage), 03/28/2009 04:35 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0