diff options
author | Max Horn | 2003-07-07 00:14:16 +0000 |
---|---|---|
committer | Max Horn | 2003-07-07 00:14:16 +0000 |
commit | 41912bc68578b5e68805f01fc36e79d91691c8cd (patch) | |
tree | 710d9f7be63a84117770ff5260b1053ce0b11ee3 /sky/autoroute.cpp | |
parent | 3dca18c935682746545f219e715a46fd4cc10852 (diff) | |
download | scummvm-rg350-41912bc68578b5e68805f01fc36e79d91691c8cd.tar.gz scummvm-rg350-41912bc68578b5e68805f01fc36e79d91691c8cd.tar.bz2 scummvm-rg350-41912bc68578b5e68805f01fc36e79d91691c8cd.zip |
use our standard cast style
svn-id: r8824
Diffstat (limited to 'sky/autoroute.cpp')
-rw-r--r-- | sky/autoroute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/autoroute.cpp b/sky/autoroute.cpp index 14230ef89f..bcf0b6bc49 100644 --- a/sky/autoroute.cpp +++ b/sky/autoroute.cpp @@ -29,7 +29,7 @@ SkyAutoRoute::SkyAutoRoute(SkyGrid *pGrid) { _grid = pGrid; - _routeGrid = (uint16*)malloc(ROUTE_GRID_SIZE); + _routeGrid = (uint16 *)malloc(ROUTE_GRID_SIZE); } SkyAutoRoute::~SkyAutoRoute(void) { @@ -63,7 +63,7 @@ uint16 SkyAutoRoute::autoRoute(Compact *cpt, uint16 **pSaveRoute) { if (!cpt->extCompact) error("SkyAutoRoute::autoRoute: fatal error. cpt->extCompact == NULL!\n"); - uint16* routeData = (uint16*)cpt->extCompact->animScratch; + uint16* routeData = (uint16 *)cpt->extCompact->animScratch; uint8* screenGrid = _grid->giveGrid(cpt->screen); screenGrid += GRID_SIZE-4; // all arrays are processed from behind, so make // screenGrid point to the last element of our grid. |