Skip to content

Commit

Permalink
Merge pull request #18 from icmccorm/main
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski authored Nov 30, 2023
2 parents 85218b6 + 2b7162b commit 28626ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mlu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl MLURef {
self.as_ptr(),
locale.language_ptr(),
locale.country_ptr(),
buf[..].as_ptr() as *mut _,
buf[..].as_mut_ptr() as *mut _,
len,
);
if let Some(0) = buf.pop() { // terminating zero
Expand Down Expand Up @@ -114,7 +114,7 @@ impl MLURef {
self.as_ptr(),
locale.language_ptr(),
locale.country_ptr(),
buf[..].as_ptr() as *mut wchar_t,
buf[..].as_mut_ptr() as *mut wchar_t,
len_bytes,
);
if let Some(0) = buf.pop() { // terminating zero
Expand Down

0 comments on commit 28626ed

Please sign in to comment.