Skip to content

Commit

Permalink
Merge pull request #33 from tomasbw/wmemset_warning
Browse files Browse the repository at this point in the history
libsafec: wmemset_s.c scilence compilation warning
  • Loading branch information
Dave W authored and xianju6x committed Apr 23, 2020
2 parents 5f8ce19 + 652d134 commit e4ffd68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safeclib/wmemset_s.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ wmemset_s (wchar_t *dest, wchar_t value, rsize_t len)
return (RCNEGATE(ESLEMAX));
}

mem_prim_set32(dest, len, value);
mem_prim_set32((uint32_t *)dest, len, value);

return (RCNEGATE(EOK));
}
Expand Down

0 comments on commit e4ffd68

Please sign in to comment.