Skip to content
This repository
Browse code

eliminate compile warnings

  • Loading branch information...
commit e7e9118f66a676f8390a9f6500082812ce6d6c7e 1 parent 3950d3c
authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  xbmc/filesystem/udf25.cpp
3  xbmc/filesystem/udf25.cpp
@@ -247,7 +247,6 @@ static int UDFFileEntry( uint8_t *data, struct FileAD *fad )
247 247
 {
248 248
   uint32_t L_EA, L_AD;
249 249
   unsigned int p;
250  
-  unsigned int curr_ad;
251 250
 
252 251
   UDFICB( &data[ 16 ], &fad->Type, &fad->Flags );
253 252
 
@@ -1110,7 +1109,7 @@ long udf25::ReadFile(HANDLE hFile, unsigned char *pBuffer, long lSize)
1110 1109
 
1111 1110
     pos -= 32 * DVD_VIDEO_LB_LEN; /* why? */
1112 1111
 
1113  
-    if(lSize < len)
  1112
+    if((uint32_t)lSize < len)
1114 1113
       len = lSize;
1115 1114
 
1116 1115
     ret = ReadAt(pos, len, pBuffer);

0 notes on commit e7e9118

Please sign in to comment.
Something went wrong with that request. Please try again.