From 71852dae82445b5a43803e42897ccd0989d135ab Mon Sep 17 00:00:00 2001 From: cebix <> Date: Sun, 21 Feb 2010 09:55:52 +0000 Subject: [PATCH] fixed compiler warnings --- BasiliskII/src/Unix/clip_unix.cpp | 4 ++-- BasiliskII/src/adb.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BasiliskII/src/Unix/clip_unix.cpp b/BasiliskII/src/Unix/clip_unix.cpp index a73b7e0d..186aff58 100644 --- a/BasiliskII/src/Unix/clip_unix.cpp +++ b/BasiliskII/src/Unix/clip_unix.cpp @@ -1,7 +1,7 @@ /* * clip_unix.cpp - Clipboard handling, Unix implementation * - * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig + * SheepShaver (C) Christian Bauer and Marc Hellwig * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -496,7 +496,7 @@ static void do_getscrap(void **handle, uint32 type, int32 offset) 0x2f, 0x3c, 0, 0, 0, 0, // move.l #outbuf,-(sp) 0xa9, 0xfe, // PutScrap() 0x58, 0x8f, // addq.l #4,sp - M68K_RTS >> 8, M68K_RTS + M68K_RTS >> 8, M68K_RTS & 0xff }; r.d[0] = sizeof(proc); Execute68kTrap(0xa71e, &r); // NewPtrSysClear() diff --git a/BasiliskII/src/adb.cpp b/BasiliskII/src/adb.cpp index e10bebad..04514648 100644 --- a/BasiliskII/src/adb.cpp +++ b/BasiliskII/src/adb.cpp @@ -1,7 +1,7 @@ /* * adb.cpp - ADB emulation (mouse/keyboard) * - * Basilisk II (C) 1997-2008 Christian Bauer + * Basilisk II (C) Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -387,7 +387,7 @@ void ADBInterrupt(void) 0x2f, 0x01, // move.l d1,-(sp) 0x70, 0x01, // moveq #1,d0 (MoveTo) 0xaa, 0xdb, // CursorDeviceDispatch - M68K_RTS >> 8, M68K_RTS + M68K_RTS >> 8, M68K_RTS & 0xff }; BUILD_SHEEPSHAVER_PROCEDURE(proc); r.a[0] = ReadMacInt32(mouse_base + 4);