diff options
Diffstat (limited to 'source/blender/editors/space_console')
-rw-r--r-- | source/blender/editors/space_console/console_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_console/console_draw.c b/source/blender/editors/space_console/console_draw.c index 38222f097ce..5c2ba2cf838 100644 --- a/source/blender/editors/space_console/console_draw.c +++ b/source/blender/editors/space_console/console_draw.c @@ -168,7 +168,7 @@ static int console_textview_step(TextViewContext *tvc) return ((tvc->iter= (void *)((Link *)tvc->iter)->prev) != NULL); } -static int console_textview_line_get(struct TextViewContext *tvc, char **line, int *len) +static int console_textview_line_get(struct TextViewContext *tvc, const char **line, int *len) { ConsoleLine *cl= (ConsoleLine *)tvc->iter; *line= cl->line; @@ -231,7 +231,7 @@ static int report_textview_step(TextViewContext *tvc) return ((tvc->iter= (void *)((Link *)tvc->iter)->prev) != NULL); } -static int report_textview_line_get(struct TextViewContext *tvc, char **line, int *len) +static int report_textview_line_get(struct TextViewContext *tvc, const char **line, int *len) { Report *report= (Report *)tvc->iter; *line= report->message; |