Explorar el Código

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 hace 10 años
padre
commit
b6cbc926ce

Los datos del Diff no están disponibles.