mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
lzma pedantic fixes (nw)
This commit is contained in:
parent
08992457cb
commit
94aa0602d5
2 changed files with 4 additions and 4 deletions
6
3rdparty/lzma/C/CpuArch.c
vendored
6
3rdparty/lzma/C/CpuArch.c
vendored
|
@ -82,7 +82,7 @@ static void MyCPUID(UInt32 function, UInt32 *a, UInt32 *b, UInt32 *c, UInt32 *d)
|
|||
"=c" (*c) ,
|
||||
"=d" (*d)
|
||||
: "0" (function)) ;
|
||||
#else // __PIC__
|
||||
#else /* __PIC__ */
|
||||
__asm__ __volatile__ (
|
||||
"cpuid"
|
||||
: "=a" (*a) ,
|
||||
|
@ -90,8 +90,8 @@ static void MyCPUID(UInt32 function, UInt32 *a, UInt32 *b, UInt32 *c, UInt32 *d)
|
|||
"=c" (*c) ,
|
||||
"=d" (*d)
|
||||
: "0" (function)) ;
|
||||
#endif // __PIC__
|
||||
|
||||
#endif /* __PIC__ */
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
|
2
3rdparty/lzma/C/LzmaDec.c
vendored
2
3rdparty/lzma/C/LzmaDec.c
vendored
|
@ -967,7 +967,7 @@ SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAll
|
|||
return SZ_OK;
|
||||
}
|
||||
|
||||
// why isn't there an interface to pass in the properties directly????
|
||||
/* why isn't there an interface to pass in the properties directly???? */
|
||||
SRes LzmaDec_Allocate_MAME(CLzmaDec *p, const CLzmaProps *propNew, ISzAlloc *alloc)
|
||||
{
|
||||
SizeT dicBufSize;
|
||||
|
|
Loading…
Reference in a new issue