Skip to content

Commit

Permalink
Fix dumb mistake reading cso files.
Browse files Browse the repository at this point in the history
Need to set up unit tests, keep testing mainly with iso files.
  • Loading branch information
unknownbrackets committed Nov 2, 2014
1 parent 756da93 commit 87e45b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compress.h
Expand Up @@ -7,7 +7,7 @@

namespace maxcso {

static const char *VERSION = "1.4.2";
static const char *VERSION = "1.4.3";

struct Task;

Expand Down
2 changes: 1 addition & 1 deletion src/input.cpp
Expand Up @@ -75,7 +75,7 @@ void Input::DetectFormat() {
csoBlockSize_ = header->sector_size;

csoBlockShift_ = 0;
for (uint32_t i = header->sector_size; i > 0; i >>= 1) {
for (uint32_t i = header->sector_size; i > 1; i >>= 1) {
++csoBlockShift_;
}

Expand Down

0 comments on commit 87e45b0

Please sign in to comment.