www.delorie.com/archives/browse.cgi | search |
Date: | Mon, 10 May 1999 18:25:21 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | "Mark E." <snowball3 AT bigfoot DOT com> |
cc: | djgpp-workers AT delorie DOT com |
Subject: | Re: warnings in malloc.c |
In-Reply-To: | <199905082104.VAA49736@out4.ibm.net> |
Message-ID: | <Pine.SUN.3.91.990510182431.8492A-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, 8 May 1999, Mark E. wrote: > When compiling malloc.c with -W, gcc reports warnings for > comparisons between unsigned and signed in several places. This > occurs because malloc and realloc take a size_t while BLOCK uses an > int. The fix is trivial but hardly critical: Thanks. I found several other places where signed and unsigned are mixed in malloc.c and fixed them all.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |