From a9d6e6e695da6c6ed7f4bb32630ab2f3d9314806 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 19 Sep 2010 17:00:05 +0000 Subject: Merge branch 'ml/bugfix' --- (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index e1d2216..96900bb 100644 --- a/cgit.c +++ b/cgit.c @@ -610,7 +610,7 @@ static void process_cached_repolist(const char *path) hash = hash_str(path); if (ctx.cfg.project_list) hash += hash_str(ctx.cfg.project_list); - cached_rc = xstrdup(fmt("%s/rc-%8x", ctx.cfg.cache_root, hash)); + cached_rc = xstrdup(fmt("%s/rc-%8lx", ctx.cfg.cache_root, hash)); if (stat(cached_rc, &st)) { /* Nothing is cached, we need to scan without forking. And -- cgit v0.9.0.2