mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
[CLASSPNP]
- Do not disable compiler warnings - Fix a ton of them svn path=/trunk/; revision=60922
This commit is contained in:
parent
6e52c95041
commit
82703397cf
11 changed files with 266 additions and 350 deletions
|
@ -63,7 +63,9 @@ Revision History:
|
|||
#define CLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS 512
|
||||
#endif // CLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS
|
||||
|
||||
#pragma data_seg("NONPAGE")
|
||||
#ifdef ALLOC_DATA_PRAGMA
|
||||
#pragma data_seg("NONPAGE")
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
@ -178,8 +180,8 @@ Revision History:
|
|||
//
|
||||
|
||||
ULONG index;
|
||||
PUCHAR buffer;
|
||||
index = InterlockedIncrement(&ClasspnpGlobals.Index);
|
||||
PSTR buffer;
|
||||
index = InterlockedIncrement((PLONG)&ClasspnpGlobals.Index);
|
||||
index %= ClasspnpGlobals.NumberOfBuffers;
|
||||
index *= (ULONG)ClasspnpGlobals.EachBufferSize;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue