Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
duckinator committed Nov 9, 2023
1 parent 55c30e6 commit 9ac51e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dmm_string.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
void *dmm_memcpy(void *dest, const void *src, size_t n)
{
char *dest_ = (char*)dest;
char *src_ = (char*)src;
const char *src_ = (const char*)src;

for (size_t i = 0; i < n; i++) {
dest_[i] = src_[i];
Expand Down

0 comments on commit 9ac51e7

Please sign in to comment.