MapServer / MapServer-import

3 stars 2 forks source link

mapswf.c / symbol overhaul problems #2198

Closed tbonfort closed 12 years ago

tbonfort commented 12 years ago

Reporter: warmerdam Date: 2007/08/02 - 20:25 Umberto,

I think there are a number of places in mapswf.c with stuff like:

      symbol = &(symbolset->symbol[style->symbol]);

That should be:

      symbol = symbolset->symbol[style->symbol];

When I build I get these warnings:

mapswf.c: In function `msDrawMarkerSymbolSWF':
mapswf.c:1218: warning: assignment from incompatible pointer type
mapswf.c: In function `msDrawLineSymbolSWF':
mapswf.c:1684: warning: assignment from incompatible pointer type
mapswf.c: In function `msDrawShadeSymbolSWF':

I would fix it, but I have no easy way to test swf symbol output. I have added Assefa as a cc: in the hopes that he does have an easy way to test this.

tbonfort commented 12 years ago

Author: assefa Date: 2007/08/02 - 20:40 I will do the chages and tests.

tbonfort commented 12 years ago

Author: assefa Date: 2007/08/02 - 20:59 Fixed and tested 87c41bfe93a918afd93497b663d74e35ecb9c7ce (r6449).