[GRASS-SVN] r30737 - grass-addons/raster/r.sun_horizon/r.sun2

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 26 09:31:41 EDT 2008


Author: neteler
Date: 2008-03-26 09:31:40 -0400 (Wed, 26 Mar 2008)
New Revision: 30737

Modified:
   grass-addons/raster/r.sun_horizon/r.sun2/main.c
Log:
fix pointer

Modified: grass-addons/raster/r.sun_horizon/r.sun2/main.c
===================================================================
--- grass-addons/raster/r.sun_horizon/r.sun2/main.c	2008-03-26 12:34:08 UTC (rev 30736)
+++ grass-addons/raster/r.sun_horizon/r.sun2/main.c	2008-03-26 13:31:40 UTC (rev 30737)
@@ -756,7 +756,7 @@
 	NULL;
     FCELL *rast1 = NULL, *rast2 = NULL;
     static FCELL **horizonbuf;
-    char *horizonpointer;
+    unsigned char *horizonpointer;
     int fd1 = -1, fd2 = -1, fd3 = -1, fd4 = -1, fd5 = -1, fd6 = -1, fd7 =
 	-1, row, row_rev;
     static int *fd_shad;



More information about the grass-commit mailing list