Commit 9ab3376e authored by Federico G. Schwindt's avatar Federico G. Schwindt

More version numbers are unsigned

parent d76e051c
......@@ -62,8 +62,8 @@ struct vmod {
const void *funcs;
int funclen;
const char *abi;
int vrt_major;
int vrt_minor;
unsigned vrt_major;
unsigned vrt_minor;
};
static VTAILQ_HEAD(,vmod) vmods = VTAILQ_HEAD_INITIALIZER(vmods);
......@@ -237,7 +237,7 @@ VMOD_Panic(struct vsb *vsb)
VSB_printf(vsb, "vmods = {\n");
VSB_indent(vsb, 2);
VTAILQ_FOREACH(v, &vmods, list)
VSB_printf(vsb, "%s = {%s, %d.%d},\n",
VSB_printf(vsb, "%s = {%s, %u.%u},\n",
v->nm, v->abi, v->vrt_major, v->vrt_minor);
VSB_indent(vsb, -2);
VSB_printf(vsb, "},\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment