diff --git a/binaryEditor.c b/binaryEditor.c index 0277063..9137774 100644 --- a/binaryEditor.c +++ b/binaryEditor.c @@ -31,7 +31,7 @@ void seekBuffer(Buffer buffer, unsigned int position){ break; case BUF_OUT: outByteOffset = position - (position % 8); - inBitOffset = position % 8; + outBitOffset = position % 8; break; } }