From 028744bfd6ceac8690b236df49dfd11b7175c00b Mon Sep 17 00:00:00 2001
From: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Date: Tue, 10 Dec 2024 13:37:13 +0000
Subject: [PATCH] Little change

---
 src/USB2.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/USB2.cpp b/src/USB2.cpp
index c029ee0..b9d74b1 100644
--- a/src/USB2.cpp
+++ b/src/USB2.cpp
@@ -525,7 +525,7 @@ void USB2::write(const Tango::DevVarCharArray *argin)
 		goto error;
 	
 	while (bytes_total < bytes_to_write) {
-		ssize_t bytes_written;
+		int bytes_written;
 		conn_state = libusb_bulk_transfer(dev_handle, ep_down, 
 				argin_data.data() + bytes_total,
 				bytes_to_write - bytes_total, &bytes_written, timeout);
-- 
GitLab