forked from pool/mapserver
4434f6e4d6
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=76
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
diff -urNad mapserver-6.0.0~/mapunion.c mapserver-6.0.0/mapunion.c
|
|
--- mapserver-6.0.0/mapunion.c (revision 11709)
|
|
+++ mapserver-6.0.0/mapunion.c (revision 11714)
|
|
@@ -236,7 +236,7 @@
|
|
}
|
|
|
|
/* clean up expression tokens */
|
|
-void msUnionLayerFreeExpressionTokens(layerObj *layer)
|
|
+int msUnionLayerFreeExpressionTokens(layerObj *layer)
|
|
{
|
|
int i,j;
|
|
freeExpressionTokens(&(layer->filter));
|
|
@@ -316,5 +316,5 @@
|
|
/* get items requested by the union layer plus the required items */
|
|
msLayerSetProcessingKey(srclayer, "ITEMS", itemlist);
|
|
- if (msLayerWhichItems(srclayer, TRUE, NULL) != MS_SUCCESS)
|
|
+ if (msLayerWhichItems(srclayer, MS_TRUE, NULL) != MS_SUCCESS)
|
|
{
|
|
msFree(itemlist);
|
|
@@ -325,5 +325,5 @@
|
|
{
|
|
/* get only the required items */
|
|
- if (msLayerWhichItems(srclayer, FALSE, NULL) != MS_SUCCESS)
|
|
+ if (msLayerWhichItems(srclayer, MS_FALSE, NULL) != MS_SUCCESS)
|
|
return MS_FAILURE;
|
|
}
|
|
@@ -354,5 +354,5 @@
|
|
|
|
/* get only the required items */
|
|
- if (msLayerWhichItems(srclayer, FALSE, NULL) != MS_SUCCESS)
|
|
+ if (msLayerWhichItems(srclayer, MS_FALSE, NULL) != MS_SUCCESS)
|
|
return MS_FAILURE;
|
|
}
|