Skip to content

Commit

Permalink
Fix: Range values can be larger than int
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Białecki committed Jul 6, 2024
1 parent 30ed3b4 commit c9c6146
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Egnyte.Api/Files/Range.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public class Range
{
public Range(int from, int to)
public Range(long from, long to)
{
if (from > to)
{
Expand All @@ -15,8 +15,8 @@ public Range(int from, int to)
To = to;
}

public int From { get; private set; }
public long From { get; private set; }

public int To { get; private set; }
public long To { get; private set; }
}
}

0 comments on commit c9c6146

Please sign in to comment.