Skip to content

Commit

Permalink
Fix windows warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Nov 2, 2023
1 parent 5be8e29 commit 4de6d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/windows/ipc_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct aws_ipc_util_instance_lock *aws_ipc_util_instance_lock_try_acquire(
aws_byte_buf_append_dynamic(&nonce_buf, &instance_nonce);
aws_byte_buf_append_null_terminator(&nonce_buf);

HANDLE mutex = CreateMutexA(NULL, FALSE, nonce_buf.buffer);
HANDLE mutex = CreateMutexA(NULL, FALSE, (LPCSTR)nonce_buf.buffer);

if (!mutex) {
AWS_LOGF_WARN(
Expand Down

0 comments on commit 4de6d51

Please sign in to comment.