aboutsummaryrefslogtreecommitdiff
path: root/sky/grid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/grid.cpp')
-rw-r--r--sky/grid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/grid.cpp b/sky/grid.cpp
index 5cf8d8ef0e..f75842a6d4 100644
--- a/sky/grid.cpp
+++ b/sky/grid.cpp
@@ -150,7 +150,7 @@ void SkyGrid::loadGrids(void) {
bool SkyGrid::getGridValues(Compact *cpt, uint32 *resBitNum, uint32 *resWidth) {
- uint32 width = *(uint32*)SkyCompact::getCompactElem(cpt,cpt->extCompact->megaSet+C_GRID_WIDTH);
+ uint16 width = *(uint16*)SkyCompact::getCompactElem(cpt,cpt->extCompact->megaSet+C_GRID_WIDTH);
return getGridValues(cpt->xcood, cpt->ycood, width, cpt, resBitNum, resWidth);
}