Skip to content

Commit

Permalink
pick a known pageseqnum32
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMarvin committed Sep 17, 2024
1 parent 729ffb3 commit d451e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/readsas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Rcpp::List readsas(const char * filePath,
fmt32 = 0, fmt322 = 0, ifmt32 = 0, ifmt322 = 0;
int16_t PAGE_TYPE = 0, BLOCK_COUNT = 0, SUBHEADER_COUNT = 0;

int32_t pageseqnum32 = 0;
uint32_t pageseqnum32 = 0;

double created = 0, created2 = 0; // 8
double modified = 0, modified2 = 0; // 16
Expand Down
2 changes: 1 addition & 1 deletion src/writesas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void writesas(const char * filePath, Rcpp::DataFrame dat, uint8_t compress,
// if (bit32 == 1) pagesize = 8192;
// int64_t pagecount = 1;
int32_t pgidx = 0;
int32_t pageseqnum32 = pgidx;
uint32_t pageseqnum32 = 2139483040;

// Begin: Magic Number
int32_t
Expand Down

0 comments on commit d451e58

Please sign in to comment.