From 69c5aab2b34e5720f7fa537c04815eaff40aeb7c Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Fri, 22 Sep 2000 17:22:40 +0000 Subject: [PATCH] - changed type of ScratchMem from uint32 to uint8 * --- BasiliskII/src/AmigaOS/main_amiga.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/AmigaOS/main_amiga.cpp b/BasiliskII/src/AmigaOS/main_amiga.cpp index 2c3ecc01..d1edaedd 100644 --- a/BasiliskII/src/AmigaOS/main_amiga.cpp +++ b/BasiliskII/src/AmigaOS/main_amiga.cpp @@ -97,7 +97,7 @@ struct Library *AHIBase = NULL; struct Library *DiskBase = NULL; struct Task *MainTask; // Our task -uint32 ScratchMem = NULL; // Scratch memory for Mac ROM writes +uint8 *ScratchMem = NULL; // Scratch memory for Mac ROM writes APTR OldTrapHandler = NULL; // Old trap handler APTR OldExceptionHandler = NULL; // Old exception handler BYTE IRQSig = -1; // "Interrupt" signal number @@ -228,7 +228,7 @@ int main(void) TimerBase = (struct Library *)timereq->tr_node.io_Device; // Allocate scratch memory - ScratchMem = (uint32)AllocMem(SCRATCH_MEM_SIZE, MEMF_PUBLIC); + ScratchMem = (uint8 *)AllocMem(SCRATCH_MEM_SIZE, MEMF_PUBLIC); if (ScratchMem == NULL) { ErrorAlert(GetString(STR_NO_MEM_ERR)); QuitEmulator();