Mercurial > mplayer.hg
changeset 6635:704c0fbb8e80
oops forgot to commit, part of Bj«Órn Sandells libdha obsd ppc fixes.
author | atmos4 |
---|---|
date | Thu, 04 Jul 2002 01:10:53 +0000 |
parents | d2c224cf5468 |
children | 1bb626b7a0fd |
files | libdha/sysdep/AsmMacros_powerpc.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libdha/sysdep/AsmMacros_powerpc.h Wed Jul 03 22:17:33 2002 +0000 +++ b/libdha/sysdep/AsmMacros_powerpc.h Thu Jul 04 01:10:53 2002 +0000 @@ -7,7 +7,7 @@ #ifndef __ASM_MACROS_POWERPC_H #define __ASM_MACROS_POWERPC_H -#if defined(Lynx) +#if defined(Lynx) || defined(__OpenBSD__) extern unsigned char *ioBase; @@ -18,7 +18,7 @@ static __inline__ void outb(short port, unsigned char value) { - *(uchar *)(ioBase + port) = value; eieio(); + *(unsigned char *)(ioBase + port) = value; eieio(); } static __inline__ void outw(short port, unsigned short value)