|
From: | John Reiser |
Subject: | Re: [Lzip-bug] Version 0.1 of plzip released |
Date: | Mon, 07 Dec 2009 07:11:38 -0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4 |
On 12/07/2009 12:07 AM, Tino Lange wrote:
plzip.cc:601: warning: comparison is always false due to limited range of data type main.cc:1101: warning: comparison is always false due to limited range of data typeAre they serious?
Yes, they are true bugs. Using "(size_t)-1" instead of INT32_MAX or INT64_MAX (from <stdint.h>) is an outright error. --
[Prev in Thread] | Current Thread | [Next in Thread] |