mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
Use long instead of int
Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
This commit is contained in:
parent
7c0277bf0b
commit
a70297e0f8
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ public class ToolsCommandGroup : CommandGroup
|
||||||
private async Task<Result> SendRandomNumberAsync(long first, long? secondNullable,
|
private async Task<Result> SendRandomNumberAsync(long first, long? secondNullable,
|
||||||
IUser user, CancellationToken ct)
|
IUser user, CancellationToken ct)
|
||||||
{
|
{
|
||||||
const int secondDefault = 0;
|
const long secondDefault = 0;
|
||||||
var second = secondNullable ?? secondDefault;
|
var second = secondNullable ?? secondDefault;
|
||||||
|
|
||||||
var min = Math.Min(first, second);
|
var min = Math.Min(first, second);
|
||||||
|
|
Loading…
Add table
Reference in a new issue