[GRASS-SVN] r33139 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 28 11:43:44 EDT 2008
Author: glynn
Date: 2008-08-28 11:43:44 -0400 (Thu, 28 Aug 2008)
New Revision: 33139
Modified:
grass/trunk/lib/vector/Vlib/write.c
Log:
Fix type mismatch
Modified: grass/trunk/lib/vector/Vlib/write.c
===================================================================
--- grass/trunk/lib/vector/Vlib/write.c 2008-08-28 15:42:49 UTC (rev 33138)
+++ grass/trunk/lib/vector/Vlib/write.c 2008-08-28 15:43:44 UTC (rev 33139)
@@ -46,6 +46,13 @@
G_fatal_error(_("Requested format is not compiled in this version"));
return 0;
}
+
+static long format_l()
+{
+ G_fatal_error(_("Requested format is not compiled in this version"));
+ return 0;
+}
+
#endif
static long (*Write_line_array[][3]) () = {
@@ -56,7 +63,7 @@
write_dummy, write_dummy, write_dummy}
#else
, {
- write_dummy, format, format}
+ write_dummy, format_l, format_l}
#endif
};
More information about the grass-commit
mailing list