From fda7ecf08a1d804370d02e9a53810f6011472856 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 21 Jun 2026 13:10:47 +0200 Subject: [PATCH] widen loop counter to unsigned int, to quieten checkers https://github.com/gphoto/libgphoto2/security/code-scanning/189 --- camlibs/sonydscf55/sony.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/sonydscf55/sony.c b/camlibs/sonydscf55/sony.c index 9dcdfc7c2..26f00af30 100644 --- a/camlibs/sonydscf55/sony.c +++ b/camlibs/sonydscf55/sony.c @@ -302,7 +302,7 @@ static int sony_packet_read(Camera * camera, Packet * pack) static int sony_packet_write(Camera * camera, Packet * p) { - unsigned short int count; + unsigned int count; int rc; GP_DEBUG(