Commit c26ef132 authored by Ilkka Ollakka's avatar Ilkka Ollakka

oneliner to fix i_pos updating. works for me.

parent 5980a23b
...@@ -394,7 +394,7 @@ static block_t *mmapBlock (access_t *p_access) ...@@ -394,7 +394,7 @@ static block_t *mmapBlock (access_t *p_access)
return NULL; return NULL;
} }
p_access->info.i_pos = offset + length; p_access->info.i_pos += length;
msg_Dbg (p_access, "mapped %lu bytes at %p from offset %lu", msg_Dbg (p_access, "mapped %lu bytes at %p from offset %lu",
(unsigned long)length, addr, (unsigned long)offset); (unsigned long)length, addr, (unsigned long)offset);
......
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