Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

eliminate compile warnings

  • Loading branch information...
commit e7e9118f66a676f8390a9f6500082812ce6d6c7e 1 parent 3950d3c
Jonathan Marshall authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  xbmc/filesystem/udf25.cpp
View
3  xbmc/filesystem/udf25.cpp
@@ -247,7 +247,6 @@ static int UDFFileEntry( uint8_t *data, struct FileAD *fad )
{
uint32_t L_EA, L_AD;
unsigned int p;
- unsigned int curr_ad;
UDFICB( &data[ 16 ], &fad->Type, &fad->Flags );
@@ -1110,7 +1109,7 @@ long udf25::ReadFile(HANDLE hFile, unsigned char *pBuffer, long lSize)
pos -= 32 * DVD_VIDEO_LB_LEN; /* why? */
- if(lSize < len)
+ if((uint32_t)lSize < len)
len = lSize;
ret = ReadAt(pos, len, pBuffer);
Please sign in to comment.
Something went wrong with that request. Please try again.