[GRASS-SVN] r39013 - grass/branches/releasebranch_6_4/ps/ps.map
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 5 14:36:37 EDT 2009
Author: neteler
Date: 2009-09-05 14:36:37 -0400 (Sat, 05 Sep 2009)
New Revision: 39013
Modified:
grass/branches/releasebranch_6_4/ps/ps.map/ps_fclrtbl.c
Log:
Remove bogus pointer->integer cast (merge from trunk, r39011)
Modified: grass/branches/releasebranch_6_4/ps/ps.map/ps_fclrtbl.c
===================================================================
--- grass/branches/releasebranch_6_4/ps/ps.map/ps_fclrtbl.c 2009-09-05 18:36:16 UTC (rev 39012)
+++ grass/branches/releasebranch_6_4/ps/ps.map/ps_fclrtbl.c 2009-09-05 18:36:37 UTC (rev 39013)
@@ -213,7 +213,7 @@
k = strlen(buf) - 1;
while (buf[k] == '0')
k--;
- k = k - (int)(strchr(buf, '.') - (unsigned)buf);
+ k = k - (int)(strchr(buf, '.') - buf);
ddig = k;
}
More information about the grass-commit
mailing list