Skip to content

Commit 86dfff2

Browse files
authored
Fix the build process on ARMs (#125)
This patch was provided by Andreas Beckmann <[email protected]> to Debian project. See details at https://bugs.debian.org/1100959 Description: the virt_addr_valid macro wants a void* argument
1 parent ce66ef4 commit 86dfff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ int ldigest_update(void *v, size_t is) {
9898
int ret;
9999
struct scatterlist sg;
100100

101-
if (likely(virt_addr_valid((unsigned long) v))) {
101+
if (likely(virt_addr_valid(v))) {
102102
sg_init_one(&sg, (u8 *) v, is);
103103
} else {
104104
int nbytes = is;

0 commit comments

Comments
 (0)