diff options
| -rw-r--r-- | contrib/blast/blast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/blast/blast.c b/contrib/blast/blast.c index d45925a..69ef0fe 100644 --- a/contrib/blast/blast.c +++ b/contrib/blast/blast.c | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | * 1.0 12 Feb 2003 - First version | 23 | * 1.0 12 Feb 2003 - First version |
| 24 | * 1.1 16 Feb 2003 - Fixed distance check for > 4 GB uncompressed data | 24 | * 1.1 16 Feb 2003 - Fixed distance check for > 4 GB uncompressed data |
| 25 | * 1.2 24 Oct 2012 - Add note about using binary mode in stdio | 25 | * 1.2 24 Oct 2012 - Add note about using binary mode in stdio |
| 26 | * - Fix comparisons of differently signed integers | ||
| 26 | */ | 27 | */ |
| 27 | 28 | ||
| 28 | #include <setjmp.h> /* for setjmp(), longjmp(), and jmp_buf */ | 29 | #include <setjmp.h> /* for setjmp(), longjmp(), and jmp_buf */ |
| @@ -280,7 +281,7 @@ local int decomp(struct state *s) | |||
| 280 | int dict; /* log2(dictionary size) - 6 */ | 281 | int dict; /* log2(dictionary size) - 6 */ |
| 281 | int symbol; /* decoded symbol, extra bits for distance */ | 282 | int symbol; /* decoded symbol, extra bits for distance */ |
| 282 | int len; /* length for copy */ | 283 | int len; /* length for copy */ |
| 283 | int dist; /* distance for copy */ | 284 | unsigned dist; /* distance for copy */ |
| 284 | int copy; /* copy counter */ | 285 | int copy; /* copy counter */ |
| 285 | unsigned char *from, *to; /* copy pointers */ | 286 | unsigned char *from, *to; /* copy pointers */ |
| 286 | static int virgin = 1; /* build tables once */ | 287 | static int virgin = 1; /* build tables once */ |
