mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
-fix some more warnings
svn path=/trunk/; revision=27523
This commit is contained in:
parent
1d4ef813b6
commit
5fc7647c8a
2 changed files with 5 additions and 3 deletions
|
@ -1098,7 +1098,7 @@ DECLARE_INTERFACE_(IPortWavePci, IPort)
|
|||
#define STATIC_IPortWavePciStream \
|
||||
0xb4c90a51L, 0x5791, 0x11d0, 0x86, 0xf9, 0x00, 0xa0, 0xc9, 0x11, 0xb5, 0x44
|
||||
|
||||
DEFINE_GUIDSTRUCT("0xB4C90A51-5791-11d0-86f9-00a0c911b544", IID_IPortWavePciStream);
|
||||
DEFINE_GUID(IID_IPortWavePciStream, 0xb4c90a51L, 0x5791, 0x11d0, 0x86, 0xf9, 0x00, 0xa0, 0xc9, 0x11, 0xb5, 0x44);
|
||||
|
||||
/* ... */
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#ifndef STDUNK_H
|
||||
#define STDUNK_H
|
||||
|
||||
#define STDUNK_TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
|
||||
|
||||
#include <punknown.h>
|
||||
|
||||
/* ===============================================================
|
||||
|
@ -152,7 +154,7 @@ typedef struct CUnknown
|
|||
STD_CREATE_BODY_WITH_TAG_(classname, unknown, outer_unknown, pool_type, tag, PUNKNOWN)
|
||||
|
||||
#define STD_CREATE_BODY_(classname, unknown, outer_unknown, pool_type, base) \
|
||||
STD_CREATE_BODY_WITH_TAG_(classname, unknown, outer_unknown, pool_type, 'rCcP', base)
|
||||
STD_CREATE_BODY_WITH_TAG_(classname, unknown, outer_unknown, pool_type, STDUNK_TAG('r','C','c','P'), base)
|
||||
|
||||
#define STD_CREATE_BODY(classname, unknown, outer_unknown, pool_type) \
|
||||
STD_CREATE_BODY_(classname, unknown, outer_unknown, pool_type, PUNKNOWN)
|
||||
|
@ -186,7 +188,7 @@ operator new (
|
|||
size_t size,
|
||||
POOL_TYPE pool_type)
|
||||
{
|
||||
return KCOM_New(size, pool_type, 'wNcP');
|
||||
return KCOM_New(size, pool_type, STDUNK_TAG ('w','N','c','P'));
|
||||
}
|
||||
|
||||
inline PVOID
|
||||
|
|
Loading…
Reference in a new issue