fix compilation warnings
parent
30e099de17
commit
c842f28870
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue