Remove some compilation warnings.

This commit is contained in:
Milan Broz
2012-06-10 18:56:04 +02:00
parent c364290be9
commit 4b8f91d0d9
6 changed files with 32 additions and 21 deletions

View File

@@ -38,9 +38,9 @@
#include "libcryptsetup.h"
#include "internal.h"
int crypt_getpagesize(void)
unsigned crypt_getpagesize(void)
{
return (int)sysconf(_SC_PAGESIZE);
return (unsigned)sysconf(_SC_PAGESIZE);
}
static int get_alignment(int fd)