2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-13 18:17:49 -04:00

Convert custom HeadSpin integer types to standard types from stdint.h

This commit is contained in:
2012-01-19 21:19:26 -05:00
parent a0d54e2644
commit 5027b5a4ac
1301 changed files with 14497 additions and 14532 deletions

View File

@ -68,7 +68,7 @@ bool Srv2LogValidateConnect (
const Srv2Log_ConnData & connect = * (const Srv2Log_ConnData *) listen->buffer;
// Validate message size
const unsigned kMinStructSize = sizeof(dword) * 3;
const unsigned kMinStructSize = sizeof(uint32_t) * 3;
if (listen->bytes < kMinStructSize)
return false;
if (listen->bytes < connect.dataBytes)

View File

@ -74,11 +74,11 @@ enum {
***/
struct Srv2Log_ConnData {
dword dataBytes;
dword buildId;
dword srvType;
dword buildType;
dword productId;
uint32_t dataBytes;
uint32_t buildId;
uint32_t srvType;
uint32_t buildType;
uint32_t productId;
};
struct Srv2Log_Connect {
@ -95,7 +95,7 @@ struct Srv2Log_Connect {
struct Srv2Log_LogMsg : SrvMsgHeader {
unsigned eventType;
qword timestamp;
uint64_t timestamp;
};