Commit 77f5471d authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Improve alignment of grid_llc_t.

parent f2f31fd5
......@@ -3634,7 +3634,7 @@ void gridDefParamLCC(int gridID, double originLon, double originLat, double lonP
gridptr->lcc.xinc = xinc;
gridptr->lcc.yinc = yinc;
gridptr->lcc.projflag = projflag;
gridptr->lcc.scanflag = scanflag;
gridptr->lcc.scanflag = (short)scanflag;
gridptr->lcc.defined = TRUE;
gridMark4Update(gridID);
}
......@@ -4181,7 +4181,7 @@ gridUnpack(char * unpackBuffer, int unpackBufferSize,
gridP->type = intBuffer[GRID_PACK_INT_IDX_TYPE];
gridP->prec = intBuffer[GRID_PACK_INT_IDX_PREC];
gridP->lcc.projflag = intBuffer[GRID_PACK_INT_IDX_LCC_PROJFLAG];
gridP->lcc.scanflag = intBuffer[GRID_PACK_INT_IDX_LCC_SCANFLAG];
gridP->lcc.scanflag = (short)intBuffer[GRID_PACK_INT_IDX_LCC_SCANFLAG];
gridP->lcc.defined = (short)intBuffer[GRID_PACK_INT_IDX_LCC_DEFINED];
gridP->isCyclic = (short)intBuffer[GRID_PACK_INT_IDX_IS_CYCLIC];
gridP->x.flag = (short)intBuffer[GRID_PACK_INT_IDX_X_FLAG];
......
......@@ -68,7 +68,7 @@ struct grid_lcc_t {
double xinc;
double yinc;
int projflag;
int scanflag;
short scanflag; /* must be combination of 128, 64, 32 */
short defined;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment