diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-28 16:11:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-28 16:11:41 +0000 |
commit | 5763a29d82f8e918a05ec9b2f7d477fa16f02360 (patch) | |
tree | c94ee5d56081c9fac325ea9df8f85a99968ca789 /sprintf.c | |
parent | 64361d24ff6147099bd9cea77e725344109af7bd (diff) | |
download | ruby-5763a29d82f8e918a05ec9b2f7d477fa16f02360.tar.gz |
vsnprintf.c: constify
* vsnprintf.c (FILE::vextra): constify the return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r-- | sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1325,7 +1325,7 @@ ruby__sfvwrite(register rb_printf_buffer *fp, register struct __suio *uio) return 0; } -static char * +static const char * ruby__sfvextra(rb_printf_buffer *fp, size_t valsize, void *valp, long *sz, int sign) { VALUE value, result = (VALUE)fp->_bf._base; |