Skip to content

Commit f5963f4

Browse files
committed
* missing/vsnprintf.c (BSD_vfprintf): get rid of a warning of VC++ x64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 0fd2e19 commit f5963f4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Sat Jan 9 14:01:14 2010 NAKAMURA Usaku <[email protected]>
2+
3+
* missing/vsnprintf.c (BSD_vfprintf): get rid of a warning of VC++ x64.
4+
15
Sat Jan 9 08:40:54 2010 Nobuyoshi Nakada <[email protected]>
26

37
* win32/configure.bat (WIN32DIR): regularise file separators.

missing/vsnprintf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ reswitch: switch (ch) {
769769
if (flags & QUADINT) {
770770
uqval = va_arg(ap, quad_t);
771771
if ((quad_t)uqval < 0) {
772-
uqval = -uqval;
772+
uqval = -(quad_t)uqval;
773773
sign = '-';
774774
}
775775
} else

0 commit comments

Comments
 (0)