fixed compiler warnings

This commit is contained in:
cebix 2010-02-21 09:55:52 +00:00
parent 6e5d8e4e85
commit 71852dae82
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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);