Commit e7bb1fe8b2ac478850ce2241c3392131dc8f3237

Patrick Steinhardt 2019-06-27T15:14:08

examples: avoid passing signed integer to `memchr` The memchr(3P) function expects a `size_t` as its last parameter, but we do pass it an object size, which is of signed type `git_off_t`. As we can be sure that the result will be non-negative, let's just cast the parameter to a `size_t`.