mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c, bignum.c, dln.c, error.c, gc.c, io.c, marshal.c,
numeric.c, pack.c, strftime.c, string.c, thread.c, transcode.c, transcode_data.h, util.c, variable.c, vm_dump.c, include/ruby/encoding.h, missing/crypt.c, missing/vsnprintf.c: suppress VC type warnings. [ruby-core:22726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
080525aa68
commit
d1abc53721
21 changed files with 132 additions and 121 deletions
|
@ -240,7 +240,7 @@ static int BSD__sfvwrite(fp, uio)
|
|||
register size_t len;
|
||||
register const char *p;
|
||||
register struct __siov *iov;
|
||||
register int w;
|
||||
register size_t w;
|
||||
|
||||
if ((len = uio->uio_resid) == 0)
|
||||
return (0);
|
||||
|
@ -347,7 +347,7 @@ BSD__sbprintf(register FILE *fp, const char *fmt, va_list ap)
|
|||
*/
|
||||
#define to_digit(c) ((c) - '0')
|
||||
#define is_digit(c) ((unsigned)to_digit(c) <= 9)
|
||||
#define to_char(n) ((n) + '0')
|
||||
#define to_char(n) (char)((n) + '0')
|
||||
|
||||
#ifdef _HAVE_SANE_QUAD_
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue