summaryrefslogtreecommitdiff
path: root/tools/tools-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools-shared.c')
-rw-r--r--tools/tools-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools-shared.c b/tools/tools-shared.c
index 137bc02..98db0fa 100644
--- a/tools/tools-shared.c
+++ b/tools/tools-shared.c
@@ -113,7 +113,7 @@ int set_serial_attr(int fd, unsigned int baud)
int write_to_tablet(int fd, const char *command)
{
- int len = 0;
+ unsigned long len = 0;
do {
int l;