summaryrefslogtreecommitdiff
path: root/devices/gdevdm24.c
diff options
context:
space:
mode:
Diffstat (limited to 'devices/gdevdm24.c')
-rw-r--r--devices/gdevdm24.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/gdevdm24.c b/devices/gdevdm24.c
index 9392f4bf0..42706eee7 100644
--- a/devices/gdevdm24.c
+++ b/devices/gdevdm24.c
@@ -150,7 +150,7 @@ dot24_print_page (gx_device_printer *pdev, gp_file *prn_stream, char *init_strin
if (code == 0)
{
/* Pad with lines of zeros. */
- memset (inp, 0, (24 - lcnt) * line_size);
+ memset (inp, 0, (size_t)(24 - lcnt) * line_size);
break;
}
}
@@ -162,7 +162,7 @@ dot24_print_page (gx_device_printer *pdev, gp_file *prn_stream, char *init_strin
if (code == 0)
{
/* Pad with lines of zeros. */
- memset (inp, 0, (24 - lcnt) * line_size);
+ memset (inp, 0, (size_t)(24 - lcnt) * line_size);
break;
}
}