From 527458845ec88bc646fa41b278799e9a787acacb Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Wed, 21 Sep 2011 00:25:58 +1100 Subject: [PATCH] = fixed variable type --- src/torrent2json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent2json.c b/src/torrent2json.c index 1a0f2fc..c3888cd 100644 --- a/src/torrent2json.c +++ b/src/torrent2json.c @@ -53,7 +53,7 @@ get_string(int chr) /* in this case 'chr' first digit of string lenght */ unsigned int len = (unsigned char) chr - '0'; int c = '\0'; - int i = 0; + unsigned int i = 0; unsigned char *buf = NULL; /* first, get string lenght */