diff options
author | Toomas Soome <tsoome@me.com> | 2018-10-21 15:58:20 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-10-01 12:35:40 +0300 |
commit | 660213e2089ab8409d54154d0a2987504a24fb23 (patch) | |
tree | e5bc6ef0a89e1d3a1517e54f6bc2eba61d703000 | |
parent | 8ab009369fb9f9b1e690d195ddcfbd8165a53f34 (diff) | |
download | illumos-joyent-660213e2089ab8409d54154d0a2987504a24fb23.tar.gz |
11732 portfs: cast between incompatible function types
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/fs/portfs/port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/fs/portfs/port.c b/usr/src/uts/common/fs/portfs/port.c index 70f773ab55..14d44af07c 100644 --- a/usr/src/uts/common/fs/portfs/port.c +++ b/usr/src/uts/common/fs/portfs/port.c @@ -384,7 +384,7 @@ static int64_t portfs(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, static struct sysent port_sysent = { 6, SE_ARGC | SE_64RVAL | SE_NOUNLOAD, - (int (*)())portfs, + (int (*)())(uintptr_t)portfs, }; static struct modlsys modlsys = { @@ -400,7 +400,7 @@ portfs32(uint32_t arg1, int32_t arg2, uint32_t arg3, uint32_t arg4, static struct sysent port_sysent32 = { 6, SE_ARGC | SE_64RVAL | SE_NOUNLOAD, - (int (*)())portfs32, + (int (*)())(uintptr_t)portfs32, }; static struct modlsys modlsys32 = { |