From 9531ed8a013de799d335e7bab8b9f69e850b5f49 Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 23 Apr 2020 14:21:15 +0800 Subject: [PATCH] Fix build --- .../kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.common.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.common.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.common.kt index 41d51d8b6..0a031d867 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.common.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.common.kt @@ -568,7 +568,7 @@ internal abstract class QQAndroidBotBase constructor( network.run { val data = message.calculateValidationDataForGroup( sequenceId = sequenceId, - random = Random.nextInt().absoluteValue.toUInt(), + random = Random.nextInt().absoluteValue, groupCode = groupCode )