*/
static int resolve_missing_loose_ref(const char *refname,
unsigned char *sha1,
- int *flags)
+ unsigned int *flags)
{
struct ref_entry *entry;
* refname will still be valid and unchanged.
*/
static int read_raw_ref(const char *refname, unsigned char *sha1,
- struct strbuf *symref, int *flags)
+ struct strbuf *symref, unsigned int *flags)
{
struct strbuf sb_contents = STRBUF_INIT;
struct strbuf sb_path = STRBUF_INIT;
}
for (symref_count = 0; symref_count < MAXDEPTH; symref_count++) {
- int read_flags = 0;
+ unsigned int read_flags = 0;
if (read_raw_ref(refname, sha1, &sb_refname, &read_flags)) {
*flags |= read_flags;