widen loop counter to unsigned int, to quieten checkers https://github.com/gphoto/libgphoto2/security/code-scanning/189
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user