|
From: <and...@us...> - 2009-01-16 11:12:49
|
Revision: 9324
http://plplot.svn.sourceforge.net/plplot/?rev=9324&view=rev
Author: andrewross
Date: 2009-01-16 11:12:39 +0000 (Fri, 16 Jan 2009)
Log Message:
-----------
Fix const modifier for char arrays in plstripc function. Removes gcc
warning messages.
Modified Paths:
--------------
trunk/bindings/tcl/tclAPI.c
Modified: trunk/bindings/tcl/tclAPI.c
===================================================================
--- trunk/bindings/tcl/tclAPI.c 2009-01-16 11:11:54 UTC (rev 9323)
+++ trunk/bindings/tcl/tclAPI.c 2009-01-16 11:12:39 UTC (rev 9324)
@@ -3282,9 +3282,9 @@
{
int i;
int id;
- char *xspec;
- char *yspec;
- char *idName;
+ const char *xspec;
+ const char *yspec;
+ const char *idName;
tclMatrix *colMat;
tclMatrix *styleMat;
double value;
@@ -3294,10 +3294,10 @@
PLINT colbox, collab;
PLINT colline[4], styline[4];
int nlegend;
- char **legline;
- char *labx;
- char *laby;
- char *labtop;
+ const char **legline;
+ const char *labx;
+ const char *laby;
+ const char *labtop;
char idvalue[20];
if (argc != 21) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|