Mercurial > hg > octave-nkf > gnulib-hg
changeset 17745:972097f4ddc2
parse-datetime: Avoid signed/unsigned comparison warning
* lib/parse-datetime.y (yylex): Compare pointer to end of buffer,
instead of calculating difference of pointers. This removes an
annoying warning, devoid of any use.
author | Mats Erik Andersson <gnu@gisladisker.se> |
---|---|
date | Sat, 30 Aug 2014 10:31:35 +0200 |
parents | 9c8d212db038 |
children | b5ad83c67b36 |
files | ChangeLog lib/parse-datetime.y |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-08-30 Mats Erik Andersson <gnu@gisladisker.se> (tiny change) + + parse-datetime: Avoid pointer difference. + * lib/parse-datetime.y (yylex): Compare pointer to end of buffer, + instead of calculating difference of pointers. This removes an + annoying warning, devoid of any use. + 2014-08-29 Paul Eggert <eggert@cs.ucla.edu> qsort_r: new module, for GNU-style qsort_r