X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=lib%2Fdecompress_bunzip2.c;h=3518e7394eca8e48313f2f8aa21fcc51dad898df;hb=12dbbfadd8f4e54607463414b06f9416a5c6d981;hp=0d619cc129dd1deedf81d8286cefeab454dd6db2;hpb=92aeda50d4a96b7a30fc87960497d5e15b7428f7;p=linux-2.6-microblaze.git diff --git a/lib/decompress_bunzip2.c b/lib/decompress_bunzip2.c index 0d619cc129dd..3518e7394eca 100644 --- a/lib/decompress_bunzip2.c +++ b/lib/decompress_bunzip2.c @@ -80,7 +80,7 @@ /* This is what we know about each Huffman coding group */ struct group_data { - /* We have an extra slot at the end of limit[] for a sentinal value. */ + /* We have an extra slot at the end of limit[] for a sentinel value. */ int limit[MAX_HUFCODE_BITS+1]; int base[MAX_HUFCODE_BITS]; int permute[MAX_SYMBOLS]; @@ -337,7 +337,7 @@ static int INIT get_next_block(struct bunzip_data *bd) pp <<= 1; base[i+1] = pp-(t += temp[i]); } - limit[maxLen+1] = INT_MAX; /* Sentinal value for + limit[maxLen+1] = INT_MAX; /* Sentinel value for * reading next sym. */ limit[maxLen] = pp+temp[maxLen]-1; base[minLen] = 0;