Commit 42d9a31a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Always remember what your pointers point to, when doing pointer addition.

Fixes	#1065
parent 84b1ca02
......@@ -335,7 +335,7 @@ VSM_Init(void)
VWMB();
vsl_start = vsl_log_start;
vsl_end = vsl_start + cache_param->vsl_space;
vsl_end = vsl_start + cache_param->vsl_space / sizeof *vsl_end;
vsl_ptr = vsl_start + 1;
VSC_C_main = VSM_Alloc(sizeof *VSC_C_main,
......
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