summaryrefslogtreecommitdiffstats
path: root/src/hardcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardcopy.c')
-rw-r--r--src/hardcopy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardcopy.c b/src/hardcopy.c
index 33c72b7112..c99dc5fa35 100644
--- a/src/hardcopy.c
+++ b/src/hardcopy.c
@@ -1650,7 +1650,7 @@ prt_flush_buffer(void)
prt_write_string("s\n");
ga_clear(&prt_ps_buffer);
- ga_init2(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
+ ga_init2(&prt_ps_buffer, sizeof(char), prt_bufsiz);
}
}
@@ -2649,7 +2649,7 @@ mch_print_init(
prt_bufsiz = psettings->chars_per_line;
if (prt_out_mbyte)
prt_bufsiz *= 2;
- ga_init2(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
+ ga_init2(&prt_ps_buffer, sizeof(char), prt_bufsiz);
prt_page_num = 0;