NDolphinIntegration: Prevent sign conversion warnings

This commit is contained in:
Lioncash 2020-07-10 15:54:54 -04:00
parent e1b2d15833
commit 2dcb3a86df
1 changed files with 11 additions and 10 deletions

View File

@ -64,15 +64,15 @@ struct SQuickplayParameters
ASSERT(Stream.IsValid()); ASSERT(Stream.IsValid());
// Magic/Version // Magic/Version
Stream.WriteLong(kParmsMagic); Stream.WriteULong(kParmsMagic);
Stream.WriteLong(kParmsVersion); Stream.WriteULong(kParmsVersion);
// Parameters // Parameters
Stream.WriteLong( Features.ToInt32() ); Stream.WriteULong(Features.ToInt32());
Stream.WriteLong( BootWorldAssetID ); Stream.WriteULong(BootWorldAssetID);
Stream.WriteLong( BootAreaAssetID ); Stream.WriteULong(BootAreaAssetID);
Stream.WriteLong( 0 ); Stream.WriteULong(0);
Stream.WriteLongLong( BootAreaLayerFlags ); Stream.WriteULongLong(BootAreaLayerFlags);
SpawnTransform.Write(Stream); SpawnTransform.Write(Stream);
Stream.Close(); Stream.Close();
@ -88,7 +88,8 @@ class CQuickplayRelay : public QObject
Q_OBJECT Q_OBJECT
public: public:
CQuickplayRelay() {} CQuickplayRelay() = default;
public slots: public slots:
void QuickplayStarted(); void QuickplayStarted();
void QuickplayFinished(int ReturnCode); void QuickplayFinished(int ReturnCode);