зеркало из https://github.com/github/ruby.git
* vsnprintf.c (BSD_vfprintf): fix cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2f0b8e2793
Коммит
85d1cba883
|
@ -1,4 +1,6 @@
|
|||
Tue Oct 12 23:53:57 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Tue Oct 12 23:55:11 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vsnprintf.c (BSD_vfprintf): fix cast.
|
||||
|
||||
* numeric.c (rb_num2fix): result of rb_num2long is SIGNED_VALUE.
|
||||
|
||||
|
|
|
@ -893,7 +893,7 @@ fp_begin: _double = va_arg(ap, double);
|
|||
*/
|
||||
prec = (int)(sizeof(void*)*CHAR_BIT/4);
|
||||
#ifdef _HAVE_LLP64_
|
||||
uqval = (u_long)va_arg(ap, void *);
|
||||
uqval = (u_quad_t)va_arg(ap, void *);
|
||||
flags = (flags) | QUADINT | HEXPREFIX;
|
||||
#else
|
||||
ulval = (u_long)va_arg(ap, void *);
|
||||
|
|
Загрузка…
Ссылка в новой задаче