1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +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 "pnProduct/pnProduct.h"
#include "pnNbConst.h" #include "../pnNbConst.h"
#include "pnNbError.h" #include "pnNbError.h"
#include "pnNbKeys.h" #include "pnNbKeys.h"
#include "pnNbProtocol.h" #include "pnNbProtocol.h"

View File

@ -103,10 +103,10 @@ enum ENetError {
kNumNetErrors, kNumNetErrors,
// Net messages require ENetError to be sizeof(dword) // 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_ERROR(a) (((int)(a)) > kNetSuccess)
#define IS_NET_SUCCESS(a) (((int)(a)) == kNetSuccess) #define IS_NET_SUCCESS(a) (((int)(a)) == kNetSuccess)

View File

@ -90,7 +90,7 @@ const unsigned kBillingTypeGameTap = 1 << 1;
struct AccountRoleInfo { struct AccountRoleInfo {
unsigned Role; unsigned Role;
char* Descriptor; const char* Descriptor;
}; };
// Account role flags // Account role flags