Permalink
Browse files

Fix compilation error on Windows introduced by 6bafd73

  • Loading branch information...
1 parent cf49484 commit d75372d86256b960fd4f905d0a8c0c0ae81bdc78 @rouault rouault committed Jul 7, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 maplayer.c
View
@@ -1670,7 +1670,10 @@ int msINLINELayerIsOpen(layerObj *layer)
msINLINELayerInfo *msINLINECreateLayerInfo(void)
{
msINLINELayerInfo *layerinfo = msSmallMalloc(sizeof(msINLINELayerInfo));
- layerinfo->searchrect = (rectObj){-1.0,-1.0,-1.0,-1.0};
+ layerinfo->searchrect.minx = -1.0;
+ layerinfo->searchrect.miny = -1.0;
+ layerinfo->searchrect.maxx = -1.0;
+ layerinfo->searchrect.maxy = -1.0;
layerinfo->is_relative = MS_FALSE;
return layerinfo;
}

0 comments on commit d75372d

Please sign in to comment.