aboutsummaryrefslogtreecommitdiffstats
path: root/transcode_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode_data.h b/transcode_data.h
index 34f298853f..f025b4e6fe 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -59,7 +59,7 @@ typedef struct byte_lookup {
/* dynamic structure, one per conversion (similar to iconv_t) */
/* may carry conversion state (e.g. for iso-2022-jp) */
typedef struct rb_transcoding {
- struct rb_transcoder *transcoder;
+ const struct rb_transcoder *transcoder;
VALUE ruby_string_dest; /* the String used as the conversion destination,
or NULL if something else is being converted */
unsigned char *(*flush_func)(struct rb_transcoding*, int, int);