Skip to content

Commit

Permalink
Merge pull request #118 from t-tk/msvc_patch
Browse files Browse the repository at this point in the history
zzip/__string.h: cast to avoid compiler warning
  • Loading branch information
gdraheim authored Feb 26, 2024
2 parents 4a37a14 + 47ea233 commit c82fa43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zzip/__string.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ _zzip_strndup(char const *p, size_t maxlen)
{
if (p == NULL)
{
return p;
return (char *)p;
} else
{
size_t len = _zzip_strnlen(p, maxlen);
Expand Down

0 comments on commit c82fa43

Please sign in to comment.