Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
timeshift: fixed wrong variable type in _read_buf()
  • Loading branch information
perexg committed Jan 4, 2016
1 parent 3b59d92 commit 25b2cbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/timeshift/timeshift_reader.c
Expand Up @@ -75,7 +75,8 @@ static timeshift_seek_t *_read_close ( timeshift_seek_t *seek )

static ssize_t _read_buf ( timeshift_file_t *tsf, int fd, void *buf, size_t size )
{
size_t r, ret;
ssize_t r;
size_t ret;

if (tsf && tsf->ram) {
if (tsf->roff == tsf->woff) return 0;
Expand Down

0 comments on commit 25b2cbc

Please sign in to comment.