bb#6038: fix compile warning in unit test code due to type mismatch

pull/25/head
David Raynor 13 years ago committed by Shawn Webb
parent 5544cb7ba8
commit 5e4d96b814
  1. 2
      unit_tests/check_clamav.c

@ -432,7 +432,7 @@ static int get_test_file(int i, char *file, unsigned fsize, unsigned long *size)
}
#ifdef CHECK_HAVE_LOOPS
static ssize_t pread_cb(void *handle, void *buf, size_t count, off_t offset)
static off_t pread_cb(void *handle, void *buf, size_t count, off_t offset)
{
return pread(*((int*)handle), buf, count, offset);
}

Loading…
Cancel
Save