summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 08:56:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 08:56:37 +0000
commit1316830179636fc100e88c9a14314d5e1ece5931 (patch)
treec00278fc461aba02f8bf68da70a4e8e384afbfe2
parent40612c5bb554241537067e46984aada23e6f7365 (diff)
* missing/vsnprintf.c (BSD__uqtoa): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--missing/vsnprintf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 71c12de..afd5ec8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jul 1 17:56:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * missing/vsnprintf.c (BSD__uqtoa): constified.
+
Tue Jul 1 17:50:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* enc/make_encdb.h: always add ';' at the end of line.
diff --git a/missing/vsnprintf.c b/missing/vsnprintf.c
index d7545fd..c1f1eca 100644
--- a/missing/vsnprintf.c
+++ b/missing/vsnprintf.c
@@ -357,7 +357,7 @@ BSD__sbprintf(register FILE *fp, const char *fmt, va_list ap)
* use the given digits.
*/
static char *
-BSD__uqtoa(register u_quad_t val, char *endp, int base, int octzero, char *xdigs)
+BSD__uqtoa(register u_quad_t val, char *endp, int base, int octzero, const char *xdigs)
{
register char *cp = endp;
register long sval;