Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2011-03-16 21:45:38 +0000 (Wed, 16 Mar 2011)
Add explicit casting to (const PLFLT **) of 2d array passed to plshade.
--- trunk/examples/tk/xtk01.c 2011-03-16 21:37:25 UTC (rev 11632)
+++ trunk/examples/tk/xtk01.c 2011-03-16 21:45:38 UTC (rev 11633)
@@ -433,7 +433,7 @@
sh_width = 2;
plpsty( 0 );
- plshade( z, XPTS, YPTS, NULL, -1., 1., -1., 1.,
+ plshade( (const PLFLT **) z, XPTS, YPTS, NULL, -1., 1., -1., 1.,
sh_cmap, sh_color, sh_width,
min_color, min_width, max_color, max_width,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: