mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Convert custom HeadSpin integer types to standard types from stdint.h
This commit is contained in:
@ -123,7 +123,7 @@ RefResult SceneWatcher::NotifyRefChanged(Interval changeInt, RefTargetHandle hTa
|
||||
if (node->IsComponent())
|
||||
{
|
||||
plComponentBase *comp = node->ConvertToComponent();
|
||||
for (UInt32 i = 0; i < comp->NumTargets(); i++)
|
||||
for (uint32_t i = 0; i < comp->NumTargets(); i++)
|
||||
{
|
||||
if (comp->GetTarget(i))
|
||||
comp->GetTarget(i)->SetDirty(plMaxNode::kGeomDirty, true);
|
||||
|
@ -100,7 +100,7 @@ public:
|
||||
};
|
||||
|
||||
#define MAXFILE_DATA_CHUNK 1001
|
||||
static const UInt8 kVersion = 1;
|
||||
static const uint8_t kVersion = 1;
|
||||
|
||||
IOResult plMaxFileDataControl::Load(ILoad *iload)
|
||||
{
|
||||
@ -110,8 +110,8 @@ IOResult plMaxFileDataControl::Load(ILoad *iload)
|
||||
{
|
||||
if (iload->CurChunkID() == MAXFILE_DATA_CHUNK)
|
||||
{
|
||||
UInt8 version = 0;
|
||||
res = iload->Read(&version, sizeof(UInt8), &nb);
|
||||
uint8_t version = 0;
|
||||
res = iload->Read(&version, sizeof(uint8_t), &nb);
|
||||
res = iload->Read(&fCodeBuildTime, sizeof(SYSTEMTIME), &nb);
|
||||
|
||||
int branchLen = 0;
|
||||
|
@ -123,7 +123,7 @@ void plUpdatableClient::IGetUpdate()
|
||||
fLog->AddLineF(plStatusLog::kBlue, "SceneViewer Update #%d", numUpdates);
|
||||
#endif // LOG_SCENEVIWER
|
||||
|
||||
UInt8 type = s.ReadByte();
|
||||
uint8_t type = s.ReadByte();
|
||||
|
||||
if (type == ClientUpdate::kShutdown)
|
||||
{
|
||||
|
Reference in New Issue
Block a user