mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
Silence compiler warnings (11/11).
svn path=/trunk/; revision=37833
This commit is contained in:
parent
e1f79c3b49
commit
5bc250cc36
2 changed files with 5 additions and 5 deletions
|
@ -568,11 +568,11 @@ void parse_filename_into_dirrecord ( const char* filename, PDIR_RECORD d, BOOL d
|
|||
break;
|
||||
}
|
||||
|
||||
if ( (t-d->name_on_cd) < sizeof(d->name_on_cd)-1 )
|
||||
if ( (size_t)(t-d->name_on_cd) < sizeof(d->name_on_cd)-1 )
|
||||
*t++ = check_for_punctuation(*s, filename);
|
||||
else if (!joliet)
|
||||
error_exit ("'%s' is not ISO-9660, aborting...", filename );
|
||||
if ( (n-d->name) < sizeof(d->name)-1 )
|
||||
if ( (size_t)(n-d->name) < sizeof(d->name)-1 )
|
||||
*n++ = *s;
|
||||
else if (!joliet)
|
||||
error_exit ( "'%s' is not ISO-9660, aborting...", filename );
|
||||
|
@ -587,7 +587,7 @@ void parse_filename_into_dirrecord ( const char* filename, PDIR_RECORD d, BOOL d
|
|||
t = d->extension_on_cd;
|
||||
while ( *s != 0 )
|
||||
{
|
||||
if ( (t-d->extension_on_cd) < (sizeof(d->extension_on_cd)-1) )
|
||||
if ( (size_t)(t-d->extension_on_cd) < sizeof(d->extension_on_cd)-1 )
|
||||
*t++ = check_for_punctuation(*s, filename);
|
||||
else if (!joliet)
|
||||
error_exit ( "'%s' is not ISO-9660, aborting...", filename );
|
||||
|
|
|
@ -59,7 +59,7 @@ static FILE *out;
|
|||
static FILE *file_handle = NULL;
|
||||
static char *file_buffer = NULL;
|
||||
static unsigned int file_size = 0;
|
||||
static int file_pointer = 0;
|
||||
static unsigned int file_pointer = 0;
|
||||
static char tagname[200];
|
||||
static PAPI_INFO api_info_list = NULL;
|
||||
|
||||
|
@ -752,7 +752,7 @@ read_input_file(char *input_file)
|
|||
PAPI_INFO api_info;
|
||||
PAPI_INFO next_api_info;
|
||||
char *buffer;
|
||||
int size;
|
||||
unsigned int size;
|
||||
int len;
|
||||
|
||||
in = fopen(input_file, "rb");
|
||||
|
|
Loading…
Reference in a new issue