]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.c
Merge branch 'ml/bugfix'
[cgit.git] / cgit.c
diff --git a/cgit.c b/cgit.c
index e1d2216ffb3ae32b3a343cb677647fb716c01a40..96900bb5afbc04f02c0e643b22175c78e3886197 100644 (file)
--- 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