소스 검색

The result of pointer arithmetic is ptrdiff_t

When subtracting the string lengths the result is a ptrdiff_t which
is signed. When we assign that to the vec->len field we do an
implicit conversion to unsigned. This makes that conversion explicit.
Matt Clarkson 10 년 전
부모
커밋
b6cbc926ce

아직 변경 데이터를 사용할 수 없습니다.