Bug #1259
closedFix array.c compiler warnings
Description
=begin
Attached patch fixes array.c compiler warnings with vc2008.
cl -nologo -nologo -MD -RTC1 -Zi -Od -W3 -wd4996 -Od -Zm600 -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32_90 -I./../include -I./.. -I./../missing -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -I. -I./.. -I./../missing -IC:\Development\msvc\include -DLIBRUBY_SO="ruby19.dll" -Foarray.obj -c -Tc./../array.c array.c
./../array.c(184) : warning C4018: '>=' : signed/unsigned mismatch
./../array.c(1223) : warning C4018: '>' : signed/unsigned mismatch
./../array.c(2511) : warning C4018: '>' : signed/unsigned mismatch
./../array.c(2623) : warning C4018: '<' : signed/unsigned mismatch
./../array.c(3386) : warning C4244: 'initializing' : conversion from 'double' to 'long', possible loss of data
./../array.c(3435) : warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
./../array.c(3448) : warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
./../array.c(3449) : warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
./../array.c(3453) : warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
./../array.c(3454) : warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
./../array.c(3455) : warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
./../array.c(3465) : warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
./../array.c(3467) : warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
=end
Files
Updated by nobu (Nobuyoshi Nakada) almost 16 years ago
- Status changed from Open to Closed
=begin
Applied at changeset r22872.
=end