diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/c-writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c-writer.cc b/src/c-writer.cc index 0a7cfe3a..0326c886 100644 --- a/src/c-writer.cc +++ b/src/c-writer.cc @@ -1633,7 +1633,7 @@ void CWriter::SerializeFuncType(const FuncType& func_type, *next_byte++ = MangleType(func_type.GetResultType(i)); } - assert(next_byte - mangled_signature == len); + assert(next_byte - mangled_signature == static_cast<ptrdiff_t>(len)); // step 4: SHA-256 the whole string sha256({mangled_signature, len}, serialized_type); |