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:
@ -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)
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user