read_lseek_blockwise: use void pointer

This commit is contained in:
Ondrej Kozina
2015-12-11 16:41:26 +01:00
committed by Milan Broz
parent d3316ec930
commit 4dd568fbfc
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ ssize_t read_buffer(int fd, void *buf, size_t count);
ssize_t write_blockwise(int fd, int bsize, void *buf, size_t count); ssize_t write_blockwise(int fd, int bsize, void *buf, size_t count);
ssize_t read_blockwise(int fd, int bsize, void *buf, size_t count); ssize_t read_blockwise(int fd, int bsize, void *buf, size_t count);
ssize_t write_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset); ssize_t write_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset);
ssize_t read_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset); ssize_t read_lseek_blockwise(int fd, int bsize, void *buf, size_t count, off_t offset);
unsigned crypt_getpagesize(void); unsigned crypt_getpagesize(void);
int init_crypto(struct crypt_device *ctx); int init_crypto(struct crypt_device *ctx);

View File

@@ -276,7 +276,7 @@ out:
return ret; return ret;
} }
ssize_t read_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset) ssize_t read_lseek_blockwise(int fd, int bsize, void *buf, size_t count, off_t offset)
{ {
char *frontPadBuf; char *frontPadBuf;
void *frontPadBuf_base = NULL; void *frontPadBuf_base = NULL;