Kaydet (Commit) 48b419ce authored tarafından David Tardon's avatar David Tardon

WaE: comparison between signed and unsigned integer expressions

üst c06ec2fd
......@@ -120,7 +120,7 @@ __do_global_ctors (void)
* is terminated with a null entry. Otherwise the first entry was
* the number of pointers in the list.
*/
if (nptrs == -1)
if (nptrs == (unsigned long)-1)
{
for (nptrs = 0; __CTOR_LIST__[nptrs + 1] != 0; nptrs++)
;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment