Skip to content

Commit

Permalink
Replace a few int by the proper int32
Browse files Browse the repository at this point in the history
  • Loading branch information
SRombautsU committed Sep 25, 2023
1 parent 78ba0f2 commit 891ceff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ bool FPlasticGetPendingChangelistsWorker::UpdateStates()
const FDateTime Now = FDateTime::Now();

// first update cached state from 'changes' call
for (int StatusIndex = 0; StatusIndex < OutChangelistsStates.Num(); StatusIndex++)
for (int32 StatusIndex = 0; StatusIndex < OutChangelistsStates.Num(); StatusIndex++)
{
const FPlasticSourceControlChangelistState& CLStatus = OutChangelistsStates[StatusIndex];
TSharedRef<FPlasticSourceControlChangelistState, ESPMode::ThreadSafe> ChangelistState = GetProvider().GetStateInternal(CLStatus.Changelist);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ class FPlasticSourceControlState : public ISourceControlState
EWorkspaceState WorkspaceState = EWorkspaceState::Unknown;

/** Latest revision number of the file in the depot (on the current branch) */
int DepotRevisionChangeset = INVALID_REVISION;
int32 DepotRevisionChangeset = INVALID_REVISION;

/** Latest revision number at which a file was synced to before being edited */
int LocalRevisionChangeset = INVALID_REVISION;
int32 LocalRevisionChangeset = INVALID_REVISION;

/** Original name in case of a Moved/Renamed file */
FString MovedFrom;
Expand Down
8 changes: 4 additions & 4 deletions Source/PlasticSourceControl/Private/SoftwareVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ struct FSoftwareVersion

FString String;

int Major = 0;
int Minor = 0;
int Patch = 0;
int Changeset = 0;
int32 Major = 0;
int32 Minor = 0;
int32 Patch = 0;
int32 Changeset = 0;
};

bool operator==(const FSoftwareVersion& Rhs, const FSoftwareVersion& Lhs);
Expand Down

0 comments on commit 891ceff

Please sign in to comment.