aboutsummaryrefslogtreecommitdiff
path: root/sky/autoroute.cpp
diff options
context:
space:
mode:
authorMax Horn2003-07-07 00:14:16 +0000
committerMax Horn2003-07-07 00:14:16 +0000
commit41912bc68578b5e68805f01fc36e79d91691c8cd (patch)
tree710d9f7be63a84117770ff5260b1053ce0b11ee3 /sky/autoroute.cpp
parent3dca18c935682746545f219e715a46fd4cc10852 (diff)
downloadscummvm-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.cpp4
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.