[GRASS-SVN] r56277 - in grass/trunk: include/defs lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 16 03:06:42 PDT 2013


Author: mmetz
Date: 2013-05-16 03:06:42 -0700 (Thu, 16 May 2013)
New Revision: 56277

Modified:
   grass/trunk/include/defs/vector.h
   grass/trunk/lib/vector/Vlib/net.c
Log:
Vlib: avoid compiler warning

Modified: grass/trunk/include/defs/vector.h
===================================================================
--- grass/trunk/include/defs/vector.h	2013-05-16 10:05:33 UTC (rev 56276)
+++ grass/trunk/include/defs/vector.h	2013-05-16 10:06:42 UTC (rev 56277)
@@ -389,7 +389,7 @@
                          const char *, const char *, int, int);
 int Vect_net_shortest_path(struct Map_info *, int, int, struct ilist *,
                            double *);
-dglGraph_s *Vect_net_get_graph(const struct Map_info *);
+dglGraph_s *Vect_net_get_graph(struct Map_info *);
 int Vect_net_get_line_cost(const struct Map_info *, int, int, double *);
 int Vect_net_get_node_cost(const struct Map_info *, int, double *);
 int Vect_net_nearest_nodes(struct Map_info *, double, double, double, int,

Modified: grass/trunk/lib/vector/Vlib/net.c
===================================================================
--- grass/trunk/lib/vector/Vlib/net.c	2013-05-16 10:05:33 UTC (rev 56276)
+++ grass/trunk/lib/vector/Vlib/net.c	2013-05-16 10:06:42 UTC (rev 56277)
@@ -570,7 +570,7 @@
 
   \return pointer to dglGraph_s struct or NULL
 */
-dglGraph_s *Vect_net_get_graph(const struct Map_info *Map)
+dglGraph_s *Vect_net_get_graph(struct Map_info *Map)
 {
     return &(Map->dgraph.graph_s);
 }



More information about the grass-commit mailing list