Mercurial > hg > index.cgi
view COPYING @ 359:f318407d2469
Fix some signedness mismatches
Use size_t instead of int for stuff that's going to be compared with the
strlen() return value. While not technically wrong to use int, it does seem
to attract warnings from some compilers. Technically, since it's also the
return value from strtol(), there should be one variable that is long and
another that is size_t but that's just getting crazy.
Thanks to Erik G <erik@6809.org> for pointing these ones out.
author | William Astle <lost@l-w.ca> |
---|---|
date | Tue, 26 May 2015 17:49:26 -0600 |
parents | 4e12d881df85 |
children | 659e0e4ce50c |
line wrap: on
line source
See the file GPL3 for a copy of the GNU General Public License, version 3, under which the majority of this distribution is licensed. Some specific source files, including many of those in the lwcc subdirectory are licensed differently. See each individual file for specific details.