Skip to content

Commit ef2ac66

Browse files
committed
Specify type explicitly
1 parent f070a24 commit ef2ac66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/util/SystemDefaultProviderBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public abstract class SystemDefaultProviderBase : PlatformProvider {
1616

1717
override suspend fun readFileOrNull(path: String): ByteArray? = withContext(SdkDispatchers.IO) {
1818
try {
19-
val size = memScoped {
19+
val size: Long = memScoped {
2020
val statResult = alloc<stat>()
2121
if (stat(path, statResult.ptr) != 0) return@withContext null
2222
statResult.st_size

0 commit comments

Comments
 (0)