From 5763a29d82f8e918a05ec9b2f7d477fa16f02360 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 28 Sep 2015 16:11:41 +0000 Subject: 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 --- vsnprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vsnprintf.c') diff --git a/vsnprintf.c b/vsnprintf.c index 49431d1640..21ba8b0768 100644 --- a/vsnprintf.c +++ b/vsnprintf.c @@ -177,7 +177,7 @@ typedef struct __sFILE { struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */ size_t _lbfsize; /* 0 or -_bf._size, for inline putc */ int (*vwrite)(/* struct __sFILE*, struct __suio * */); - char *(*vextra)(/* struct __sFILE*, size_t, void*, long*, int */); + const char *(*vextra)(/* struct __sFILE*, size_t, void*, long*, int */); } FILE; -- cgit v1.2.3