Skip to content

Commit

Permalink
Linux Build: In progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Zezula Ladislav committed May 17, 2019
1 parent 09209d3 commit fb11979
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/CascStructs.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ typedef struct _FILE_EKEY_ENTRY
// https://wowdev.wiki/TACT#Encoding_table
//

#define FILE_MAGIC_ENCODING 'NE'
#define FILE_MAGIC_ENCODING 0x4E45 // 'EN'

// File header of the ENCODING manifest
typedef struct _FILE_ENCODING_HEADER
Expand Down Expand Up @@ -141,7 +141,7 @@ typedef struct _FILE_ESPEC_ENTRY
// See https://wowdev.wiki/TACT#Download_manifest
//

#define FILE_MAGIC_DOWNLOAD 'LD'
#define FILE_MAGIC_DOWNLOAD 0x4C44 // 'DL'

// File header of the DOWNLOAD manifest
typedef struct _FILE_DOWNLOAD_HEADER
Expand Down
2 changes: 1 addition & 1 deletion src/common/ListFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static int ListFile_GetFileDataId(PLISTFILE_CACHE pCache, PDWORD PtrFileDataId)
DWORD dwInt32 = 0;

// Set the limit for loading the number
szLineEnd = min((szLineBegin + 20), pCache->pEnd);
szLineEnd = CASCLIB_MIN((szLineBegin + 20), pCache->pEnd);

// Extract decimal digits from the string
while(szLineBegin < szLineEnd && '0' <= szLineBegin[0] && szLineBegin[0] <= '9')
Expand Down

0 comments on commit fb11979

Please sign in to comment.