# HG changeset patch # User Jim Meyering # Date 1306578848 -7200 # Node ID e56904b12bd1cc10a99f93f6c1c26425cccc4827 # Parent 280dc62a2e0f26f3c61e41e214ee15e2a170c81d intprops.h: adjust comment to match code change * lib/intprops.h (_GL_INT_CONVERT): Adjust comment: now that E is used only once, it *may* have side effects. Also fix an unrelated typo. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-28 Jim Meyering + + intprops.h: adjust comment to match code change + * lib/intprops.h (_GL_INT_CONVERT): Adjust comment: now that E is used + only once, it *may* have side effects. Also fix an unrelated typo. + 2011-05-26 Simon Josefsson * lib/gen-uni-tables.c: Say "gen-uni-tables.c" consistently. diff --git a/lib/intprops.h b/lib/intprops.h --- a/lib/intprops.h +++ b/lib/intprops.h @@ -22,9 +22,8 @@ #include -/* Return a integer value, converted to the same type as the integer - expression E after integer type promotion. V is the unconverted value. - E should not have side effects. */ +/* Return an integer value, converted to the same type as the integer + expression E after integer type promotion. V is the unconverted value. */ #define _GL_INT_CONVERT(e, v) (0 * (e) + (v)) /* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see