rawdata+i);
}
- i = eol - rawdata + 1;
+ i = (int)(eol - rawdata + 1);
line++;
}
static char* unescape(char *str)
{
int x, y;
- int len = strlen(str);
+ size_t len = strlen(str);
for (x=y=0; str[y]; ++x, ++y) {
if ((str[x] = str[y]) == '%') {
git_buf zbuf = GIT_BUF_INIT;
git_otype type;
unsigned char hdr[10];
- unsigned int hdr_len;
+ size_t hdr_len;
unsigned long size;
void *data;
static int filter_refs(git_remote *remote)
{
- const git_remote_head **heads;
+ git_remote_head **heads;
size_t heads_len, i;
git_vector_clear(&remote->refs);