Skip to content

Commit

Permalink
Fix for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
P-p-H-d committed Sep 26, 2024
1 parent 0379f5f commit 2f1b17f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m-bstring.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ m_bstring_clear(m_bstring_t s)
{
M_BSTRING_CONTRACT(s);
M_MEMORY_FREE( s->ptr);
s->offset = -1U;
s->offset = (size_t) -1;
}

M_INLINE void
Expand Down Expand Up @@ -209,7 +209,7 @@ m_bstring_init_move(m_bstring_t v, m_bstring_t org)
{
M_BSTRING_CONTRACT (org);
memcpy(v, org, sizeof (m_bstring_t));
org->offset = -1U;
org->offset = (size_t) -1;
}

M_INLINE void
Expand Down

0 comments on commit 2f1b17f

Please sign in to comment.