1
0
Fork 0

Fix minor compiler and checker warnings.

(rpm-checker was unhappy about our outdated FSF address :) )
This commit is contained in:
ThorstenB 2011-12-19 21:35:50 +01:00
parent 1fb790eb60
commit 136de6bdf3
2 changed files with 11 additions and 10 deletions

View file

@ -2,7 +2,7 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@ -305,7 +305,7 @@ the "copyright" line and a pointer to where the full notice is found.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Also add information on how to contact you by electronic and paper mail.

View file

@ -847,16 +847,17 @@ static unsigned lz_read(struct lz_reader_t* reader, char* outbuf, unsigned obufs
if (code >= freeent) { /* Special case for KwKwK string. */
if (code > freeent) {
REG1 char_type *p;
posbits -= n_bits;
p = &inbuf[posbits>>3];
#if 0
fprintf(stderr, "uncompress: insize:%d posbits:%d inbuf:%02X %02X %02X %02X %02X (%d)\n", insize, posbits,
p[-1],p[0],p[1],p[2],p[3], (posbits&07));
fprintf(stderr, "uncompress: corrupt input\n");
abort();
{
REG1 char_type *p;
p = &inbuf[posbits>>3];
fprintf(stderr, "uncompress: insize:%d posbits:%d inbuf:%02X %02X %02X %02X %02X (%d)\n", insize, posbits,
p[-1],p[0],p[1],p[2],p[3], (posbits&07));
fprintf(stderr, "uncompress: corrupt input\n");
abort();
}
#else
return reader->rsize=-1;
#endif