fix compilation warnings

master
szaka 2006-11-14 20:07:13 +00:00
parent 30e099de17
commit c842f28870
2 changed files with 4 additions and 3 deletions

View File

@ -346,8 +346,9 @@ int ntfs_log_redirect(const char *function, const char *file,
#ifdef HAVE_SYSLOG_H
int ntfs_log_handler_syslog(const char *function __attribute__((unused)),
const char *file, __attribute__((unused)) int line, u32 level,
void *data __attribute__((unused)), const char *format, va_list args)
const char *file, __attribute__((unused)) int line,
u32 level __attribute__((unused)), void *data __attribute__((unused)),
const char *format, va_list args)
{
int ret = 0;
int olderr = errno;

View File

@ -2005,7 +2005,7 @@ static void set_fuseblk_options(char *parsed_options)
if (pagesize < 1)
pagesize = 4096;
if (blksize > pagesize)
if (blksize > (u32)pagesize)
blksize = pagesize;
snprintf(option, sizeof(option), ",blksize=%u", blksize);