aboutsummaryrefslogtreecommitdiff
path: root/src/libventi/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libventi/cache.c')
-rw-r--r--src/libventi/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libventi/cache.c b/src/libventi/cache.c
index 65e0e8c4..636a6ea7 100644
--- a/src/libventi/cache.c
+++ b/src/libventi/cache.c
@@ -312,7 +312,7 @@ vtcachelocal(VtCache *c, u32int addr, int type)
sysfatal("vtcachelocal: asked for nonexistent block 0");
if(addr > c->nblock)
sysfatal("vtcachelocal: asked for block #%ud; only %d blocks",
- addr, c->nblock);
+ (uint)addr, c->nblock);
b = &c->block[addr-1];
if(b->addr == NilBlock || b->iostate != BioLocal)