From 24d9eb4ddb55c2876583f2e66b1c35234c59deea Mon Sep 17 00:00:00 2001 From: Oliver Kiehl Date: Sat, 24 May 2003 21:40:17 +0000 Subject: fix EVIL bug svn-id: r7905 --- sky/grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sky/grid.cpp') 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); } -- cgit v1.2.3