diff options
author | Toomas Soome <tsoome@me.com> | 2018-11-25 23:34:48 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-01-17 08:39:26 +0200 |
commit | 6dcdaa03d6dbb08e16fd2b10e01cceb9a729c050 (patch) | |
tree | 0712fc635d741aed7857e3c3590232ea79b9665e /usr/src/lib/libsum/common | |
parent | a5a64a30bf80c9adfc68fc3473622834302b07eb (diff) | |
download | illumos-joyent-6dcdaa03d6dbb08e16fd2b10e01cceb9a729c050.tar.gz |
12083 libsum: cast between incompatible function types
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: C Fraire <cfraire@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libsum/common')
-rw-r--r-- | usr/src/lib/libsum/common/sum-lmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libsum/common/sum-lmd.c b/usr/src/lib/libsum/common/sum-lmd.c index 22dff3d9bd..ca104c394b 100644 --- a/usr/src/lib/libsum/common/sum-lmd.c +++ b/usr/src/lib/libsum/common/sum-lmd.c @@ -171,7 +171,7 @@ md5_open(const Method_t* method, const char* name) lmd->name = name; lmd->datasize = 16; lmd->initf = (Lmd_init_f)MD5Init; - lmd->updatef = (Lmd_update_f)MD5Update; + lmd->updatef = (Lmd_update_f)(uintptr_t)MD5Update; lmd->finalf = (Lmd_final_f)MD5Final; md5_init((Sum_t*)lmd); } |