[GRASS-SVN] r39011 - grass/trunk/ps/ps.map
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 5 14:34:09 EDT 2009
Author: glynn
Date: 2009-09-05 14:34:09 -0400 (Sat, 05 Sep 2009)
New Revision: 39011
Modified:
grass/trunk/ps/ps.map/ps_fclrtbl.c
Log:
Remove bogus pointer->integer cast
Modified: grass/trunk/ps/ps.map/ps_fclrtbl.c
===================================================================
--- grass/trunk/ps/ps.map/ps_fclrtbl.c 2009-09-05 18:32:13 UTC (rev 39010)
+++ grass/trunk/ps/ps.map/ps_fclrtbl.c 2009-09-05 18:34:09 UTC (rev 39011)
@@ -214,7 +214,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