help-gengetopt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gengetopt] use unsigned iterator i in generated source


From: Lorenzo Bettini
Subject: Re: [help-gengetopt] use unsigned iterator i in generated source
Date: Tue, 27 Jun 2006 17:46:23 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060619)

Gyozo, PAPP (VBuster) wrote:
so the warning doesn't show up?

No, with the original tarball. This was the root of evil:

@@ -143,7 +141,7 @@
 @address@hidden(const char *filename, struct @args_info@ *args_info)
 {
   FILE *outfile;
-  int i = 0;
+  unsigned int i = 0;
outfile = fopen(filename, "w"); Quite obvious. Once again, sorry to blame.

no problem: "better be safe than sorry" :-D

thanks
        Lorenzo

--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Tel +39 055 4237460, Fax +39 055 4237437           |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.purplesucker.com Deep Purple Cover Band |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+





reply via email to

[Prev in Thread] Current Thread [Next in Thread]