Skip to content

Commit 9737c74

Browse files
committed
use unsigned for file/offset counter
1 parent 10694b4 commit 9737c74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

file-locking/fcntl-locking.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ int
174174
main(int argc, char **argv)
175175
{
176176
struct sigaction act;
177-
int i, j, fd;
177+
unsigned int i, j;
178+
int fd;
178179
struct flock fl;
179180
char *progname = argv[0];
180181
enum {

0 commit comments

Comments
 (0)