Commit 8e160562 authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz

read_lseek_blockwise: use void pointer

parent 7033105c
......@@ -103,7 +103,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 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 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);
int init_crypto(struct crypt_device *ctx);
......
......@@ -276,7 +276,7 @@ out:
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;
void *frontPadBuf_base = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment