Skip to content

Commit

Permalink
external libs/libmodplug: fixed watcom W007 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Nov 24, 2019
1 parent af2fad5 commit 0d38f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions external/libmodplug-0.8.9.0/src/load_dbm.cpp
Expand Up @@ -249,7 +249,7 @@ BOOL CSoundFile::ReadDBM(const BYTE *lpStream, DWORD dwMemLength)
MODCOMMAND *m = AllocatePattern(nRows, m_nChannels);
if (m)
{
LPBYTE pkdata = (LPBYTE)&pph->patterndata;
LPBYTE pkdata = (LPBYTE)pph->patterndata;
UINT row = 0;
UINT i = 0;

Expand Down Expand Up @@ -365,4 +365,3 @@ BOOL CSoundFile::ReadDBM(const BYTE *lpStream, DWORD dwMemLength)
}
return TRUE;
}

2 changes: 1 addition & 1 deletion external/libmodplug-0.8.9.0/src/load_s3m.cpp
Expand Up @@ -301,7 +301,7 @@ BOOL CSoundFile::ReadS3M(const BYTE *lpStream, DWORD dwMemLength)
}
S3MSAMPLESTRUCT pSmp;
memcpy(&pSmp, lpStream+nInd, 0x50);
memcpy(Ins[iSmp].name, &pSmp.dosname, 12);
memcpy(Ins[iSmp].name, pSmp.dosname, 12);
insflags[iSmp-1] = pSmp.flags;
inspack[iSmp-1] = pSmp.pack;
memcpy(m_szNames[iSmp], pSmp.name, 28);
Expand Down

0 comments on commit 0d38f14

Please sign in to comment.