aboutsummaryrefslogtreecommitdiff
path: root/driver-ti.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver-ti.c')
-rw-r--r--driver-ti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver-ti.c b/driver-ti.c
index ab76c25..54ef27c 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -332,7 +332,7 @@ start_driver (termkey_t *tk, void *info)
len = strlen (start_string);
while (len)
{
- size_t written = write (tk->fd, start_string, len);
+ ssize_t written = write (tk->fd, start_string, len);
if (written == -1)
return 0;
start_string += written;
@@ -368,7 +368,7 @@ stop_driver (termkey_t *tk, void *info)
len = strlen (stop_string);
while (len)
{
- size_t written = write (tk->fd, stop_string, len);
+ ssize_t written = write (tk->fd, stop_string, len);
if (written == -1)
return 0;
stop_string += written;