Project

General

Profile

Bug #1319

Fix compiler warnings in file.c

Added by cfis (Charlie Savage) almost 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
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

History

#1

Updated by yugui (Yuki Sonoda) over 10 years ago

  • Priority changed from Normal to 3
  • Target version changed from 1.9.1 to 1.9.2

=begin

=end

#2

Updated by yugui (Yuki Sonoda) over 10 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

=begin

=end

#3

Updated by mame (Yusuke Endoh) almost 10 years ago

  • Status changed from Open to Closed

=begin
Hi,

This is already fixed at r23140.
Thanks!

--
Yusuke Endoh mame@tsg.ne.jp
=end

Also available in: Atom PDF