Skip to content

Commit

Permalink
rldev-1.45
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshil authored Oct 28, 2020
1 parent 634b6c5 commit 01ff42e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/common/get_interpreter_version.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ value rldev_get_interpreter_version (value filename)
#include <string.h>
#include <inttypes.h>

inline uint32_t get_i16 (FILE* f)
uint32_t get_i16 (FILE* f)
{
uint32_t c = getc (f);
return c | (getc (f) << 8);
}

inline uint32_t get_int (FILE* f)
uint32_t get_int (FILE* f)
{
uint32_t c = getc (f);
c |= getc (f) << 8;
Expand Down
5 changes: 2 additions & 3 deletions src/common/lz_comp_rl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static uchar xor_mask[] = {
// };

struct Xor_Key {
char key[16];
uchar key[16];
int offset;
int length;
};
Expand Down Expand Up @@ -127,8 +127,7 @@ Xor_Key FIVE_key[] = {
Xor_Key SNOW_key[] = {
{ { 0xe4, 0xab, 0xa2, 0xc9, 0xec, 0x39, 0x36, 0x62,
0xc9, 0x03, 0xba, 0x6d, 0x2e, 0x9c, 0xf2, 0x64 }, 256, 257 },
{ { 0x0 }, 0, 0 }
};
{ { 0x0 }, 0, 0 }};

Xor_Key* keys[] = {
CFV_key, LB_key, LBEX_key, FIVE_key, SNOW_key
Expand Down

0 comments on commit 01ff42e

Please sign in to comment.