| www.delorie.com/archives/browse.cgi | search |
| Message-ID: | <37DFD995.E5052D4F@softhome.net> |
| Date: | Wed, 15 Sep 1999 19:38:29 +0200 |
| From: | Laurynas Biveinis <lauras AT softhome DOT net> |
| X-Mailer: | Mozilla 4.61 [en] (Win98; I) |
| X-Accept-Language: | lt,en |
| MIME-Version: | 1.0 |
| To: | DJGPP Workers <djgpp-workers AT delorie DOT com> |
| Subject: | Signed - unsigned comparison in dosexe.c |
| Reply-To: | djgpp-workers AT delorie DOT com |
The little patch below fixes this GCC warning. Laurynas Biveinis ----------------- --- dosexec.c.old Thu Jun 3 19:27:36 1999 +++ dosexec.c Wed Sep 15 19:36:28 1999 @@ -813,7 +813,8 @@ char line[130], interp[FILENAME_MAX], iargs[130]; FILE *f; char **newargs; - int i, hasargs=0; + int hasargs=0; + unsigned i; char *base, *p; int has_extension = 0, has_drive = 0; char pinterp[FILENAME_MAX];
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |