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 #1

Updated by yugui (Yuki Sonoda) over 15 years ago

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

=begin

=end

Actions #2

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

=begin

=end

Actions #3

Updated by mame (Yusuke Endoh) over 14 years ago

  • Status changed from Open to Closed

=begin
Hi,

This is already fixed at r23140.
Thanks!

--
Yusuke Endoh
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0