We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f070a24 commit ef2ac66Copy full SHA for ef2ac66
runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/util/SystemDefaultProviderBase.kt
@@ -16,7 +16,7 @@ public abstract class SystemDefaultProviderBase : PlatformProvider {
16
17
override suspend fun readFileOrNull(path: String): ByteArray? = withContext(SdkDispatchers.IO) {
18
try {
19
- val size = memScoped {
+ val size: Long = memScoped {
20
val statResult = alloc<stat>()
21
if (stat(path, statResult.ptr) != 0) return@withContext null
22
statResult.st_size
0 commit comments