1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Some fixes for pnNetBase.

This commit is contained in:
Darryl Pogue
2011-08-06 14:24:28 -07:00
parent db3347734a
commit 3000e99796
3 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnProduct/pnProduct.h"
#include "pnNbConst.h"
#include "../pnNbConst.h"
#include "pnNbError.h"
#include "pnNbKeys.h"
#include "pnNbProtocol.h"

View File

@ -103,10 +103,10 @@ enum ENetError {
kNumNetErrors,
// Net messages require ENetError to be sizeof(dword)
kNetErrorForceDword = (dword) -1
kNetErrorForceDword = (dword)(-1)
};
COMPILER_ASSERT_HEADER(pnNbError, sizeof(ENetError) == sizeof(dword));
//COMPILER_ASSERT_HEADER(pnNbError, sizeof(ENetError) == sizeof(dword));
#define IS_NET_ERROR(a) (((int)(a)) > kNetSuccess)
#define IS_NET_SUCCESS(a) (((int)(a)) == kNetSuccess)