]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fb-atomic.c
Save cache misses by keeping a copy of the hash value next to the pointer.
[libucw.git] / lib / fb-atomic.c
index c578a951bb118c17fb8b21d161c0905574ece012..234d920ddf6f6295aa01c551a0df1354fa52e550 100644 (file)
@@ -103,7 +103,7 @@ fbatomic_close(struct fastbuf *f)
 }
 
 struct fastbuf *
-fbatomic_open(const byte *name, struct fastbuf *master, uns bufsize, int record_len)
+fbatomic_open(const char *name, struct fastbuf *master, uns bufsize, int record_len)
 {
   struct fb_atomic *F = xmalloc_zero(sizeof(*F));
   struct fastbuf *f = &F->fb;