Skip to content

Commit 904e357

Browse files
committed
more fixes
1 parent 7a73994 commit 904e357

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws-runtime/aws-config/mingw/src/aws/sdk/kotlin/runtime/auth/credentials/executeCommandMingw.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal actual suspend fun executeCommand(
4949
/* dwDesiredAccess = */ GENERIC_WRITE.toUInt(),
5050
/* dwShareMode = */ (FILE_SHARE_READ or FILE_SHARE_WRITE).toUInt(),
5151
/* lpSecurityAttributes = */ sa.ptr,
52-
/* dwCreationDisposition = */ CREATE_ALWAYS,
52+
/* dwCreationDisposition = */ CREATE_ALWAYS.toUInt(),
5353
/* dwFlagsAndAttributes = */ FILE_ATTRIBUTE_NORMAL.toUInt(),
5454
/* hTemplateFile = */ null,
5555
)
@@ -115,7 +115,7 @@ internal actual suspend fun executeCommand(
115115
/* dwDesiredAccess = */ GENERIC_READ.toUInt(),
116116
/* dwShareMode = */ (FILE_SHARE_READ or FILE_SHARE_WRITE).toUInt(),
117117
/* lpSecurityAttributes = */ null,
118-
/* dwCreationDisposition = */ OPEN_EXISTING,
118+
/* dwCreationDisposition = */ OPEN_EXISTING.toUInt(),
119119
/* dwFlagsAndAttributes = */ FILE_ATTRIBUTE_NORMAL.toUInt(),
120120
/* hTemplateFile = */ null,
121121
)

0 commit comments

Comments
 (0)