Skip to content

Commit

Permalink
fix clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSapps committed Jul 12, 2015
1 parent b92692c commit f09d907
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/oddlib/PSXADPCMDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ class PSXADPCMDecoder
uint8_t edc[4];
};
#pragma pack(pop)
static const int32_t K0[4];
static const int32_t K1[4];
static const uint32_t K0[4]; // TODO: Was signed, not sure which is correct though
static const uint32_t K1[4];

int32_t t1, t2;
int32_t t1_x, t2_x;
Expand Down
4 changes: 2 additions & 2 deletions src/oddlib/PSXADPCMDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@



const int32_t PSXADPCMDecoder::K0[4] =
const uint32_t PSXADPCMDecoder::K0[4] =
{ 0x00000000, 0x0000F000, 0x0001CC00, 0x00018800 };


const int32_t PSXADPCMDecoder::K1[4] =
const uint32_t PSXADPCMDecoder::K1[4] =
{ 0x00000000, 0x00000000, 0xFFFF3000, 0xFFFF2400 };


Expand Down

0 comments on commit f09d907

Please sign in to comment.