Skip to content

Commit

Permalink
Fixed compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 17, 2017
1 parent 4557dbf commit 1d616dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/physfs_lzmasdk.h
Expand Up @@ -86,7 +86,7 @@ typedef unsigned long UInt64;
#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)
typedef __int64 Int64;
typedef unsigned __int64 UInt64;
#define UINT64_CONST(n) n
#define UINT64_CONST(n) n ## ui64
#else
typedef long long int Int64;
typedef unsigned long long int UInt64;
Expand Down Expand Up @@ -2174,7 +2174,7 @@ static SRes SzGetNextFolderItem(CSzFolder *f, CSzData *sd)
sd->Data++;
sd->Size--;
}
if (id > (UInt32)0xFFFFFFFF)
if (id > UINT64_CONST(0xFFFFFFFF))
return SZ_ERROR_UNSUPPORTED;
coder->MethodID = (UInt32)id;

Expand Down

0 comments on commit 1d616dc

Please sign in to comment.